
(/VERSIONCHECK 2) 

(DEFPARAMETER |Aggregate;AL| 'NIL) 

(DEFUN |Aggregate| ()
  (LET (#:G2062)
    (COND (|Aggregate;AL|) (T (SETQ |Aggregate;AL| (|Aggregate;|)))))) 

(DEFUN |Aggregate;| ()
  (PROG (#1=#:G2060)
    (RETURN
     (PROG1
         (LETT #1#
               (|Join| (|Type|)
                       (|mkCategory| '|domain|
                                     '(((|eq?| ((|Boolean|) $ $)) T)
                                       ((|copy| ($ $)) T) ((|empty| ($)) T)
                                       ((|empty?| ((|Boolean|) $)) T)
                                       ((|less?|
                                         ((|Boolean|) $
                                          (|NonNegativeInteger|)))
                                        T)
                                       ((|more?|
                                         ((|Boolean|) $
                                          (|NonNegativeInteger|)))
                                        T)
                                       ((|size?|
                                         ((|Boolean|) $
                                          (|NonNegativeInteger|)))
                                        T)
                                       ((|sample| ($) |constant|) T)
                                       ((|#| ((|NonNegativeInteger|) $))
                                        (|has| $ (|finiteAggregate|))))
                                     NIL '((|NonNegativeInteger|) (|Boolean|))
                                     NIL))
               |Aggregate|)
       (SETELT #1# 0 '(|Aggregate|)))))) 

(MAKEPROP '|Aggregate| 'NILADIC T) 
