
(/VERSIONCHECK 2) 

(DEFPARAMETER |MonadWithUnit;AL| 'NIL) 

(DEFUN |MonadWithUnit| ()
  (LET (#:G1820)
    (COND
      (|MonadWithUnit;AL|)
      (T (SETQ |MonadWithUnit;AL| (|MonadWithUnit;|)))))) 

(DEFUN |MonadWithUnit;| ()
  (PROG (#0=#:G1818)
    (RETURN
      (PROG1 (LETT #0#
                   (|Join| (|Monad|)
                           (|mkCategory| '|domain|
                               '(((|One| ($) |constant|) T)
                                 ((|one?| ((|Boolean|) $)) T)
                                 ((|rightPower|
                                      ($ $ (|NonNegativeInteger|)))
                                  T)
                                 ((|leftPower|
                                      ($ $ (|NonNegativeInteger|)))
                                  T)
                                 ((** ($ $ (|NonNegativeInteger|))) T)
                                 ((|recip| ((|Union| $ "failed") $)) T)
                                 ((|leftRecip|
                                      ((|Union| $ "failed") $))
                                  T)
                                 ((|rightRecip|
                                      ((|Union| $ "failed") $))
                                  T))
                               NIL
                               '((|NonNegativeInteger|) (|Boolean|))
                               NIL))
                   |MonadWithUnit|)
        (SETELT #0# 0 '(|MonadWithUnit|)))))) 

(MAKEPROP '|MonadWithUnit| 'NILADIC T) 
