aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/CABMON.lsp
blob: 0772044a1a3e69c46a233a85b8ddf450aae6cfe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
(/VERSIONCHECK 2) 

(DEFPARAMETER |CancellationAbelianMonoid;AL| 'NIL) 

(DEFUN |CancellationAbelianMonoid;| ()
  (LET ((#0=#:G1397
            (|Join| (|AbelianMonoid|)
                    (|mkCategory| '|domain|
                        '(((|subtractIfCan| ((|Union| $ "failed") $ $))
                           T))
                        NIL 'NIL NIL))))
    (|setShellEntry| #0# 0 '(|CancellationAbelianMonoid|))
    #0#)) 

(DEFUN |CancellationAbelianMonoid| ()
  (COND
    (|CancellationAbelianMonoid;AL|)
    (T (SETQ |CancellationAbelianMonoid;AL|
             (|CancellationAbelianMonoid;|))))) 

(MAKEPROP '|CancellationAbelianMonoid| 'NILADIC T)