
(/VERSIONCHECK 2) 

(DEFPARAMETER |OrderedSet;AL| 'NIL) 

(DEFUN |OrderedSet| ()
  (LET (#:G1336)
    (COND (|OrderedSet;AL|) (T (SETQ |OrderedSet;AL| (|OrderedSet;|)))))) 

(DEFUN |OrderedSet;| ()
  (PROG (#1=#:G1334)
    (RETURN
     (PROG1
         (LETT #1#
               (|Join| (|Comparable|)
                       (|mkCategory| '|domain|
                                     '(((< ((|Boolean|) $ $)) T)
                                       ((> ((|Boolean|) $ $)) T)
                                       ((>= ((|Boolean|) $ $)) T)
                                       ((<= ((|Boolean|) $ $)) T)
                                       ((|max| ($ $ $)) T) ((|min| ($ $ $)) T))
                                     NIL '((|Boolean|)) NIL))
               |OrderedSet|)
       (SETELT #1# 0 '(|OrderedSet|)))))) 

(MAKEPROP '|OrderedSet| 'NILADIC T) 
