
(/VERSIONCHECK 2) 

(DEFPARAMETER |Finite;AL| 'NIL) 

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

(DEFUN |Finite;| ()
  (PROG (#1=#:G1797)
    (RETURN
     (PROG1
         (LETT #1#
               (|sublisV| (PAIR '(#2=#:G1796) (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) 
