
(/VERSIONCHECK 2) 

(DEFPARAMETER |BiModule;CAT| 'NIL) 

(DEFPARAMETER |BiModule;AL| 'NIL) 

(DEFUN |BiModule| (&REST #0=#:G1816)
  (LET (#1=#:G1817)
    (COND
      ((SETQ #1# (|assoc| #2=(|devaluateList| #0#) |BiModule;AL|))
       (CDR #1#))
      (T (SETQ |BiModule;AL|
               (|cons5| (CONS #2# (SETQ #1# (APPLY #'|BiModule;| #0#)))
                        |BiModule;AL|))
         #1#)))) 

(DEFUN |BiModule;| (|t#1| |t#2|)
  (PROG (#0=#:G1815)
    (RETURN
      (PROG1 (LETT #0#
                   (|sublisV|
                       (PAIR '(|t#1| |t#2|)
                             (LIST (|devaluate| |t#1|)
                                   (|devaluate| |t#2|)))
                       (COND
                         (|BiModule;CAT|)
                         ('T
                          (LETT |BiModule;CAT|
                                (|Join| (|LeftModule| '|t#1|)
                                        (|RightModule| '|t#2|))
                                . #1=(|BiModule|))))) . #1#)
        (SETELT #0# 0
                (LIST '|BiModule| (|devaluate| |t#1|)
                      (|devaluate| |t#2|))))))) 
