
(/VERSIONCHECK 2) 

(DEFUN |CCLASS;digit;$;1| ($) (SPADCALL "0123456789" (QREFELT $ 9))) 

(DEFUN |CCLASS;hexDigit;$;2| ($)
  (SPADCALL "0123456789abcdefABCDEF" (QREFELT $ 9))) 

(DEFUN |CCLASS;upperCase;$;3| ($)
  (SPADCALL "ABCDEFGHIJKLMNOPQRSTUVWXYZ" (QREFELT $ 9))) 

(DEFUN |CCLASS;lowerCase;$;4| ($)
  (SPADCALL "abcdefghijklmnopqrstuvwxyz" (QREFELT $ 9))) 

(DEFUN |CCLASS;alphabetic;$;5| ($)
  (SPADCALL (|spadConstant| $ 12) (|spadConstant| $ 13) (QREFELT $ 14))) 

(DEFUN |CCLASS;alphanumeric;$;6| ($)
  (SPADCALL (|spadConstant| $ 15) (|spadConstant| $ 10) (QREFELT $ 14))) 

(DEFUN |CCLASS;=;2$B;7| (|a| |b| $) (SPADCALL |a| |b| (QREFELT $ 18))) 

(DEFUN |CCLASS;member?;C$B;8| (|c| |a| $)
  (PROG (|i|)
    (RETURN
     (SEQ (LETT |i| (SPADCALL |c| (QREFELT $ 22)) |CCLASS;member?;C$B;8|)
          (EXIT
           (COND ((< |i| (QREFELT $ 7)) (SPADCALL |a| |i| (QREFELT $ 23)))
                 ('T 'NIL))))))) 

(DEFUN |CCLASS;union;3$;9| (|a| |b| $) (SPADCALL |a| |b| (QREFELT $ 25))) 

(DEFUN |CCLASS;intersect;3$;10| (|a| |b| $) (SPADCALL |a| |b| (QREFELT $ 26))) 

(DEFUN |CCLASS;difference;3$;11| (|a| |b| $)
  (SPADCALL |a| (SPADCALL |b| (QREFELT $ 28)) (QREFELT $ 26))) 

(DEFUN |CCLASS;complement;2$;12| (|a| $) (SPADCALL |a| (QREFELT $ 28))) 

(DEFUN |CCLASS;convert;$S;13| (|cl| $)
  (SPADCALL (SPADCALL |cl| (QREFELT $ 32)) (QREFELT $ 33))) 

(DEFUN |CCLASS;convert;$L;14| (|cl| $)
  (PROG (#1=#:G1815 |i| #2=#:G1814)
    (RETURN
     (SEQ
      (PROGN
       (LETT #2# NIL . #3=(|CCLASS;convert;$L;14|))
       (SEQ (LETT |i| 0 . #3#) (LETT #1# (- (QREFELT $ 7) 1) . #3#) G190
            (COND ((QSGREATERP |i| #1#) (GO G191)))
            (SEQ
             (EXIT
              (COND
               ((SPADCALL |cl| |i| (QREFELT $ 23))
                (LETT #2# (CONS (SPADCALL |i| (QREFELT $ 35)) #2#) . #3#)))))
            (LETT |i| (QSADD1 |i|) . #3#) (GO G190) G191
            (EXIT (NREVERSE0 #2#)))))))) 

(DEFUN |CCLASS;charClass;S$;15| (|s| $)
  (PROG (#1=#:G1817 |j| #2=#:G1821 |i| |cl|)
    (RETURN
     (SEQ
      (LETT |cl| (SPADCALL (QREFELT $ 7) 'NIL (QREFELT $ 37))
            . #3=(|CCLASS;charClass;S$;15|))
      (SEQ (LETT |i| (SPADCALL |s| (QREFELT $ 38)) . #3#)
           (LETT #2# (SPADCALL |s| (QREFELT $ 39)) . #3#) G190
           (COND ((> |i| #2#) (GO G191)))
           (SEQ
            (EXIT
             (SEQ
              (SEQ
               (LETT |j|
                     (SPADCALL (SPADCALL |s| |i| (QREFELT $ 40))
                               (QREFELT $ 22))
                     . #3#)
               (EXIT
                (COND
                 ((NULL (< |j| (QREFELT $ 7)))
                  (PROGN
                   (LETT #1# (|error| "character code too large") . #3#)
                   (GO #1#))))))
              (EXIT (SPADCALL |cl| |j| 'T (QREFELT $ 41)))))
            #1# (EXIT #1#))
           (LETT |i| (+ |i| 1) . #3#) (GO G190) G191 (EXIT NIL))
      (EXIT |cl|))))) 

(DEFUN |CCLASS;charClass;L$;16| (|l| $)
  (PROG (#1=#:G1823 |j| #2=#:G1827 |c| |cl|)
    (RETURN
     (SEQ
      (LETT |cl| (SPADCALL (QREFELT $ 7) 'NIL (QREFELT $ 37))
            . #3=(|CCLASS;charClass;L$;16|))
      (SEQ (LETT |c| NIL . #3#) (LETT #2# |l| . #3#) G190
           (COND
            ((OR (ATOM #2#) (PROGN (LETT |c| (CAR #2#) . #3#) NIL)) (GO G191)))
           (SEQ
            (EXIT
             (SEQ
              (SEQ (LETT |j| (SPADCALL |c| (QREFELT $ 22)) . #3#)
                   (EXIT
                    (COND
                     ((NULL (< |j| (QREFELT $ 7)))
                      (PROGN
                       (LETT #1# (|error| "character code too large") . #3#)
                       (GO #1#))))))
              (EXIT (SPADCALL |cl| |j| 'T (QREFELT $ 41)))))
            #1# (EXIT #1#))
           (LETT #2# (CDR #2#) . #3#) (GO G190) G191 (EXIT NIL))
      (EXIT |cl|))))) 

(DEFUN |CCLASS;coerce;$Of;17| (|cl| $)
  (SPADCALL (SPADCALL |cl| (QREFELT $ 34)) (QREFELT $ 44))) 

(DEFUN |CCLASS;#;$Nni;18| (|a| $)
  (PROG (|n| #1=#:G1832 |i|)
    (RETURN
     (SEQ (LETT |n| 0 . #2=(|CCLASS;#;$Nni;18|))
          (SEQ (LETT |i| 0 . #2#) (LETT #1# (- (QREFELT $ 7) 1) . #2#) G190
               (COND ((QSGREATERP |i| #1#) (GO G191)))
               (SEQ
                (EXIT
                 (COND
                  ((SPADCALL |a| |i| (QREFELT $ 23))
                   (LETT |n| (+ |n| 1) . #2#)))))
               (LETT |i| (QSADD1 |i|) . #2#) (GO G190) G191 (EXIT NIL))
          (EXIT |n|))))) 

(DEFUN |CCLASS;empty;$;19| ($) (SPADCALL NIL (QREFELT $ 42))) 

(DEFUN |CCLASS;brace;$;20| ($) (SPADCALL NIL (QREFELT $ 42))) 

(DEFUN |CCLASS;insert!;C2$;21| (|c| |a| $)
  (PROG (|i|)
    (RETURN
     (SEQ (LETT |i| (SPADCALL |c| (QREFELT $ 22)) |CCLASS;insert!;C2$;21|)
          (EXIT
           (COND
            ((< |i| (QREFELT $ 7))
             (SEQ (SPADCALL |a| |i| 'T (QREFELT $ 41)) (EXIT |a|)))
            ('T (|error| "character code too large")))))))) 

(DEFUN |CCLASS;remove!;C2$;22| (|c| |a| $)
  (PROG (|i|)
    (RETURN
     (SEQ
      (SEQ (LETT |i| (SPADCALL |c| (QREFELT $ 22)) |CCLASS;remove!;C2$;22|)
           (EXIT
            (COND
             ((< |i| (QREFELT $ 7)) (SPADCALL |a| |i| 'NIL (QREFELT $ 41))))))
      (EXIT |a|))))) 

(DEFUN |CCLASS;inspect;$C;23| (|a| $)
  (PROG (#1=#:G1843 #2=#:G1844 |i|)
    (RETURN
     (SEQ
      (EXIT
       (SEQ
        (SEQ (LETT |i| 0 . #3=(|CCLASS;inspect;$C;23|))
             (LETT #2# (- (QREFELT $ 7) 1) . #3#) G190
             (COND ((QSGREATERP |i| #2#) (GO G191)))
             (SEQ
              (EXIT
               (COND
                ((SPADCALL |a| |i| (QREFELT $ 23))
                 (PROGN
                  (LETT #1# (SPADCALL |i| (QREFELT $ 35)) . #3#)
                  (GO #1#))))))
             (LETT |i| (QSADD1 |i|) . #3#) (GO G190) G191 (EXIT NIL))
        (EXIT (|error| "Cannot take a character from an empty class."))))
      #1# (EXIT #1#))))) 

(DEFUN |CCLASS;extract!;$C;24| (|a| $)
  (PROG (#1=#:G1848 #2=#:G1849 |i|)
    (RETURN
     (SEQ
      (EXIT
       (SEQ
        (SEQ (LETT |i| 0 . #3=(|CCLASS;extract!;$C;24|))
             (LETT #2# (- (QREFELT $ 7) 1) . #3#) G190
             (COND ((QSGREATERP |i| #2#) (GO G191)))
             (SEQ
              (EXIT
               (COND
                ((SPADCALL |a| |i| (QREFELT $ 23))
                 (SEQ (SPADCALL |a| |i| 'NIL (QREFELT $ 41))
                      (EXIT
                       (PROGN
                        (LETT #1# (SPADCALL |i| (QREFELT $ 35)) . #3#)
                        (GO #1#))))))))
             (LETT |i| (QSADD1 |i|) . #3#) (GO G190) G191 (EXIT NIL))
        (EXIT (|error| "Cannot take a character from an empty class."))))
      #1# (EXIT #1#))))) 

(DEFUN |CCLASS;map;M2$;25| (|f| |a| $)
  (PROG (#1=#:G1854 |i| |b|)
    (RETURN
     (SEQ
      (LETT |b| (SPADCALL (QREFELT $ 7) 'NIL (QREFELT $ 37))
            . #2=(|CCLASS;map;M2$;25|))
      (SEQ (LETT |i| 0 . #2#) (LETT #1# (- (QREFELT $ 7) 1) . #2#) G190
           (COND ((QSGREATERP |i| #1#) (GO G191)))
           (SEQ
            (EXIT
             (COND
              ((SPADCALL |a| |i| (QREFELT $ 23))
               (SPADCALL |b|
                         (SPADCALL (SPADCALL (SPADCALL |i| (QREFELT $ 35)) |f|)
                                   (QREFELT $ 22))
                         'T (QREFELT $ 41))))))
           (LETT |i| (QSADD1 |i|) . #2#) (GO G190) G191 (EXIT NIL))
      (EXIT |b|))))) 

(DEFUN |CCLASS;map!;M2$;26| (|f| |a| $)
  (PROG (#1=#:G1858 |i|)
    (RETURN
     (SEQ (SPADCALL (QREFELT $ 55) 'NIL (QREFELT $ 56))
          (SEQ (LETT |i| 0 . #2=(|CCLASS;map!;M2$;26|))
               (LETT #1# (- (QREFELT $ 7) 1) . #2#) G190
               (COND ((QSGREATERP |i| #1#) (GO G191)))
               (SEQ
                (EXIT
                 (COND
                  ((SPADCALL |a| |i| (QREFELT $ 23))
                   (SPADCALL (QREFELT $ 55)
                             (SPADCALL
                              (SPADCALL (SPADCALL |i| (QREFELT $ 35)) |f|)
                              (QREFELT $ 22))
                             'T (QREFELT $ 41))))))
               (LETT |i| (QSADD1 |i|) . #2#) (GO G190) G191 (EXIT NIL))
          (EXIT (SPADCALL |a| (QREFELT $ 55) 0 (QREFELT $ 57))))))) 

(DEFUN |CCLASS;parts;$L;27| (|a| $)
  (PROG (#1=#:G1862 |i| #2=#:G1861)
    (RETURN
     (SEQ
      (PROGN
       (LETT #2# NIL . #3=(|CCLASS;parts;$L;27|))
       (SEQ (LETT |i| 0 . #3#) (LETT #1# (- (QREFELT $ 7) 1) . #3#) G190
            (COND ((QSGREATERP |i| #1#) (GO G191)))
            (SEQ
             (EXIT
              (COND
               ((SPADCALL |a| |i| (QREFELT $ 23))
                (LETT #2# (CONS (SPADCALL |i| (QREFELT $ 35)) #2#) . #3#)))))
            (LETT |i| (QSADD1 |i|) . #3#) (GO G190) G191
            (EXIT (NREVERSE0 #2#)))))))) 

(DEFUN |CharacterClass| #1=()
  (PROG #1#
    (RETURN
     (PROG (#2=#:G1871)
       (RETURN
        (COND
         ((LETT #2# (HGET |$ConstructorCache| '|CharacterClass|)
                . #3=(|CharacterClass|))
          (|CDRwithIncrement| (CDAR #2#)))
         ('T
          (UNWIND-PROTECT
              (PROG1
                  (CDDAR
                   (HPUT |$ConstructorCache| '|CharacterClass|
                         (LIST (CONS NIL (CONS 1 (|CharacterClass;|))))))
                (LETT #2# T . #3#))
            (COND
             ((NOT #2#) (HREM |$ConstructorCache| '|CharacterClass|))))))))))) 

(DEFUN |CharacterClass;| ()
  (PROG (|dv$| $ #1=#:G1868 |pv$| #2=#:G1869)
    (RETURN
     (PROGN
      (LETT |dv$| '(|CharacterClass|) . #3=(|CharacterClass|))
      (LETT $ (GETREFV 69) . #3#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3
                (LETT |pv$|
                      (|buildPredVector| 0 0
                                         (LIST
                                          (|HasCategory| (|Character|)
                                                         '(|ConvertibleTo|
                                                           (|InputForm|)))
                                          (|HasCategory| (|Character|)
                                                         '(|Finite|))
                                          (|HasCategory| (|Character|)
                                                         '(|OrderedSet|))
                                          (|HasCategory| (|Character|)
                                                         '(|SetCategory|))
                                          (LETT #1#
                                                (AND
                                                 (|HasCategory| (|Character|)
                                                                '(|Evalable|
                                                                  (|Character|)))
                                                 (|HasCategory| (|Character|)
                                                                '(|SetCategory|)))
                                                . #3#)
                                          (OR
                                           (AND
                                            (|HasCategory| (|Character|)
                                                           '(|Evalable|
                                                             (|Character|)))
                                            (|HasCategory| (|Character|)
                                                           '(|Finite|)))
                                           #1#)))
                      . #3#))
      (|haddProp| |$ConstructorCache| '|CharacterClass| NIL (CONS 1 $))
      (|stuffDomainSlots| $)
      (AND (|HasCategory| $ '(|shallowlyMutable|)) (|augmentPredVector| $ 64))
      (AND (LETT #2# (|HasCategory| $ '(|finiteAggregate|)) . #3#)
           (|augmentPredVector| $ 128))
      (AND #2# (|HasCategory| (|Character|) '(|SetCategory|))
           (|augmentPredVector| $ 256))
      (SETF |pv$| (QREFELT $ 3))
      (QSETREFV $ 6 (|IndexedBits| 0))
      (QSETREFV $ 7 256)
      (QSETREFV $ 55 (SPADCALL (QREFELT $ 7) 'NIL (QREFELT $ 37)))
      $)))) 

(MAKEPROP '|CharacterClass| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL '|Rep| 'N (|String|)
              |CCLASS;charClass;S$;15|
              (CONS IDENTITY
                    (FUNCALL (|dispatchFunction| |CCLASS;digit;$;1|) $))
              (CONS IDENTITY
                    (FUNCALL (|dispatchFunction| |CCLASS;hexDigit;$;2|) $))
              (CONS IDENTITY
                    (FUNCALL (|dispatchFunction| |CCLASS;upperCase;$;3|) $))
              (CONS IDENTITY
                    (FUNCALL (|dispatchFunction| |CCLASS;lowerCase;$;4|) $))
              |CCLASS;union;3$;9|
              (CONS IDENTITY
                    (FUNCALL (|dispatchFunction| |CCLASS;alphabetic;$;5|) $))
              (CONS IDENTITY
                    (FUNCALL (|dispatchFunction| |CCLASS;alphanumeric;$;6|) $))
              (|Boolean|) (0 . =) |CCLASS;=;2$B;7| (|Integer|) (|Character|)
              (6 . |ord|) (11 . |elt|) |CCLASS;member?;C$B;8| (17 . |Or|)
              (23 . |And|) |CCLASS;intersect;3$;10| (29 . |Not|)
              |CCLASS;difference;3$;11| |CCLASS;complement;2$;12| (|List| 21)
              |CCLASS;convert;$L;14| (34 . |construct|) |CCLASS;convert;$S;13|
              (39 . |char|) (|NonNegativeInteger|) (44 . |new|)
              (50 . |minIndex|) (55 . |maxIndex|) (60 . |elt|) (66 . |setelt|)
              |CCLASS;charClass;L$;16| (|OutputForm|) (73 . |coerce|)
              |CCLASS;coerce;$Of;17| |CCLASS;#;$Nni;18| |CCLASS;empty;$;19|
              |CCLASS;brace;$;20| |CCLASS;insert!;C2$;21|
              |CCLASS;remove!;C2$;22| |CCLASS;inspect;$C;23|
              |CCLASS;extract!;$C;24| (|Mapping| 21 21) |CCLASS;map;M2$;25|
              '|temp| (78 . |fill!|) (84 . |copyInto!|) |CCLASS;map!;M2$;26|
              |CCLASS;parts;$L;27| (|List| 61) (|Equation| 21)
              (|Mapping| 21 21 21) (|InputForm|) (|List| $) (|PositiveInteger|)
              (|Mapping| 17 21) (|Union| 21 '"failed") (|SingleInteger|))
           '#(~= 91 |upperCase| 97 |universe| 101 |union| 105
              |symmetricDifference| 123 |subset?| 129 |size?| 135 |size| 141
              |set| 145 |select!| 154 |select| 160 |sample| 166
              |removeDuplicates| 170 |remove!| 175 |remove| 187 |reduce| 199
              |random| 220 |parts| 224 |more?| 229 |min| 235 |members| 240
              |member?| 245 |max| 251 |map!| 256 |map| 262 |lowerCase| 268
              |lookup| 272 |less?| 277 |latex| 283 |intersect| 288 |inspect|
              294 |insert!| 299 |index| 305 |hexDigit| 310 |hash| 314 |find|
              319 |extract!| 325 |every?| 330 |eval| 336 |eq?| 362 |enumerate|
              368 |empty?| 372 |empty| 377 |digit| 381 |difference| 385
              |dictionary| 397 |count| 406 |copy| 418 |convert| 423 |construct|
              438 |complement| 443 |coerce| 448 |charClass| 453 |cardinality|
              463 |brace| 468 |bag| 477 |any?| 482 |alphanumeric| 488
              |alphabetic| 492 = 496 < 502 |#| 508)
           'NIL
           (CONS
            (|makeByteWordVec2| 6 '(0 0 0 0 0 0 0 2 0 0 6 0 0 0 0 0 0 0 0 6 1))
            (CONS
             '#(|FiniteSetAggregate&| |Dictionary&| |SetAggregate&|
                |DictionaryOperations&| |Collection&| |BagAggregate&|
                |HomogeneousAggregate&| |Finite&| |SetCategory&| |Aggregate&|
                |Evalable&| NIL NIL NIL |BasicType&| NIL NIL NIL NIL
                |InnerEvalable&| NIL)
             (CONS
              '#((|FiniteSetAggregate| 21) (|Dictionary| 21)
                 (|SetAggregate| 21) (|DictionaryOperations| 21)
                 (|Collection| 21) (|BagAggregate| 21)
                 (|HomogeneousAggregate| 21) (|Finite|) (|SetCategory|)
                 (|Aggregate|) (|Evalable| 21) (|ConvertibleTo| 31)
                 (|finiteAggregate|) (|partiallyOrderedSet|) (|BasicType|)
                 (|shallowlyMutable|) (|Type|) (|ConvertibleTo| 8)
                 (|CoercibleTo| 43) (|InnerEvalable| 21 21)
                 (|ConvertibleTo| 63))
              (|makeByteWordVec2| 68
                                  '(2 6 17 0 0 18 1 21 20 0 22 2 6 17 0 20 23 2
                                    6 0 0 0 25 2 6 0 0 0 26 1 6 0 0 28 1 8 0 31
                                    33 1 21 0 20 35 2 6 0 36 17 37 1 8 20 0 38
                                    1 8 20 0 39 2 8 21 0 20 40 3 6 17 0 20 17
                                    41 1 8 43 0 44 2 6 0 0 17 56 3 6 0 0 0 20
                                    57 2 0 17 0 0 1 0 0 0 12 0 2 0 1 2 0 0 21 0
                                    1 2 0 0 0 21 1 2 0 0 0 0 14 2 0 0 0 0 1 2 0
                                    17 0 0 1 2 0 17 0 36 1 0 2 36 1 1 0 0 31 1
                                    0 0 0 1 2 8 0 66 0 1 2 8 0 66 0 1 0 0 0 1 1
                                    9 0 0 1 2 8 0 66 0 1 2 8 0 21 0 50 2 9 0 21
                                    0 1 2 8 0 66 0 1 4 9 21 62 0 21 21 1 3 8 21
                                    62 0 21 1 2 8 21 62 0 1 0 2 0 1 1 8 31 0 59
                                    2 0 17 0 36 1 1 3 21 0 1 1 8 31 0 1 2 9 17
                                    21 0 24 1 3 21 0 1 2 7 0 53 0 58 2 0 0 53 0
                                    54 0 0 0 13 1 2 65 0 1 2 0 17 0 36 1 1 0 8
                                    0 1 2 0 0 0 0 27 1 0 21 0 51 2 0 0 21 0 49
                                    1 2 0 65 1 0 0 0 11 1 0 68 0 1 2 0 67 66 0
                                    1 1 0 21 0 52 2 8 17 66 0 1 2 5 0 0 60 1 3
                                    5 0 0 21 21 1 2 5 0 0 61 1 3 5 0 0 31 31 1
                                    2 0 17 0 0 1 0 2 64 1 1 0 17 0 1 0 0 0 47 0
                                    0 0 10 2 0 0 0 21 1 2 0 0 0 0 29 0 0 0 1 1
                                    0 0 31 1 2 9 36 21 0 1 2 8 36 66 0 1 1 0 0
                                    0 1 1 1 63 0 1 1 0 31 0 32 1 0 8 0 34 1 0 0
                                    31 1 1 2 0 0 30 1 0 43 0 45 1 0 0 8 9 1 0 0
                                    31 42 1 0 36 0 1 1 0 0 31 1 0 0 0 48 1 0 0
                                    31 1 2 8 17 66 0 1 0 0 0 16 0 0 0 15 2 0 17
                                    0 0 19 2 0 17 0 0 1 1 8 36 0 46)))))
           '|lookupComplete|)) 

(MAKEPROP '|CharacterClass| 'NILADIC T) 
