
(/VERSIONCHECK 2) 

(DEFUN |FINITE-;enumerate;L;1| ($)
  (PROG (#1=#:G5095 #2=#:G5099 |i| #3=#:G5098)
    (RETURN
     (SEQ
      (PROGN
       (LETT #3# NIL . #4=(|FINITE-;enumerate;L;1|))
       (SEQ (LETT |i| 1 . #4#) (LETT #2# (SPADCALL (QREFELT $ 8)) . #4#) G190
            (COND ((QSGREATERP |i| #2#) (GO G191)))
            (SEQ
             (EXIT
              (LETT #3#
                    (CONS
                     (SPADCALL
                      (PROG1 (LETT #1# |i| . #4#)
                        (|check-subtype| (> #1# 0) '(|PositiveInteger|) #1#))
                      (QREFELT $ 10))
                     #3#)
                    . #4#)))
            (LETT |i| (QSADD1 |i|) . #4#) (GO G190) G191
            (EXIT (NREVERSE0 #3#)))))))) 

(DEFUN |Finite&| (|#1|)
  (PROG (|pv$| $ |dv$| DV$1)
    (RETURN
     (PROGN
      (LETT DV$1 (|devaluate| |#1|) . #1=(|Finite&|))
      (LETT |dv$| (LIST '|Finite&| DV$1) . #1#)
      (LETT $ (GETREFV 13) . #1#)
      (QSETREFV $ 0 |dv$|)
      (QSETREFV $ 3 (LETT |pv$| (|buildPredVector| 0 0 NIL) . #1#))
      (|stuffDomainSlots| $)
      (QSETREFV $ 6 |#1|)
      $)))) 

(MAKEPROP '|Finite&| '|infovec|
          (LIST
           '#(NIL NIL NIL NIL NIL NIL (|local| |#1|) (|NonNegativeInteger|)
              (0 . |size|) (|PositiveInteger|) (4 . |index|) (|List| $)
              |FINITE-;enumerate;L;1|)
           '#(|enumerate| 9) 'NIL
           (CONS (|makeByteWordVec2| 1 'NIL)
                 (CONS '#()
                       (CONS '#()
                             (|makeByteWordVec2| 12
                                                 '(0 6 7 8 1 6 0 9 10 0 0 11
                                                   12)))))
           '|lookupComplete|)) 
