diff options
Diffstat (limited to 'src/algebra/strap/ABELMON.lsp')
-rw-r--r-- | src/algebra/strap/ABELMON.lsp | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/src/algebra/strap/ABELMON.lsp b/src/algebra/strap/ABELMON.lsp index 8c7d5627..6a82ed1d 100644 --- a/src/algebra/strap/ABELMON.lsp +++ b/src/algebra/strap/ABELMON.lsp @@ -4,25 +4,20 @@ (DEFPARAMETER |AbelianMonoid;AL| 'NIL) (DEFUN |AbelianMonoid;| () - (PROG (#0=#:G1397) - (RETURN - (PROG1 (LETT #0# - (|Join| (|AbelianSemiGroup|) - (|mkCategory| '|domain| - '(((|Zero| ($) |constant|) T) - ((|sample| ($) |constant|) T) - ((|zero?| ((|Boolean|) $)) T) - ((* ($ (|NonNegativeInteger|) $)) T)) - NIL - '((|NonNegativeInteger|) (|Boolean|)) - NIL)) - |AbelianMonoid|) - (|setShellEntry| #0# 0 '(|AbelianMonoid|)))))) + (LET ((#0=#:G1397 + (|Join| (|AbelianSemiGroup|) + (|mkCategory| '|domain| + '(((|Zero| ($) |constant|) T) + ((|sample| ($) |constant|) T) + ((|zero?| ((|Boolean|) $)) T) + ((* ($ (|NonNegativeInteger|) $)) T)) + NIL '((|NonNegativeInteger|) (|Boolean|)) NIL)))) + (|setShellEntry| #0# 0 '(|AbelianMonoid|)) + #0#)) (DEFUN |AbelianMonoid| () - (LET () - (COND - (|AbelianMonoid;AL|) - (T (SETQ |AbelianMonoid;AL| (|AbelianMonoid;|)))))) + (COND + (|AbelianMonoid;AL|) + (T (SETQ |AbelianMonoid;AL| (|AbelianMonoid;|))))) (MAKEPROP '|AbelianMonoid| 'NILADIC T) |