
(/VERSIONCHECK 2) 

(DEFPARAMETER |OrderedSet;AL| 'NIL) 

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

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

(MAKEPROP '|OrderedSet| 'NILADIC T) 
