
(/VERSIONCHECK 2) 

(DEFPARAMETER |OrderedSet;AL| 'NIL) 

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

(DEFUN |OrderedSet;| ()
  (PROG (#1=#:G2513)
    (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) 
