
(DECLAIM (NOTINLINE |Finite;|)) 

(DEFPARAMETER |Finite;AL| 'NIL) 

(DEFUN |Finite| ()
  (LET (#:G621)
    (COND (|Finite;AL|) (T (SETQ |Finite;AL| (|Finite;|)))))) 

(DEFUN |Finite;| ()
  (SPROG ((#1=#:G619 NIL))
         (PROG1
             (LETT #1#
                   (|sublisV| (PAIR '(#2=#:G618) (LIST '(|InputForm|)))
                              (|Join| (|SetCategory|) (|ConvertibleTo| '#2#)
                                      (|mkCategory|
                                       '(((|size| ((|NonNegativeInteger|))) T)
                                         ((|index| ($ (|PositiveInteger|))) T)
                                         ((|lookup| ((|PositiveInteger|) $)) T)
                                         ((|random| ($)) T)
                                         ((|enumerate| ((|List| $))) T))
                                       NIL
                                       '((|List| $) (|PositiveInteger|)
                                         (|NonNegativeInteger|))
                                       NIL)))
                   |Finite|)
           (SETELT #1# 0 '(|Finite|))))) 

(MAKEPROP '|Finite| 'NILADIC T) 
