aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/CABMON.lsp
blob: d1719927716f6d34f2b1b53dd33c0af71ca547db (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=#:G1372
            (|Join| (|AbelianMonoid|)
                    (|mkCategory| '|domain|
                        '(((|subtractIfCan| ((|Union| $ "failed") $ $))
                           T))
                        NIL 'NIL NIL))))
    (SETF (|shellEntry| #0# 0) '(|CancellationAbelianMonoid|))
    #0#)) 

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

(MAKEPROP '|CancellationAbelianMonoid| 'NILADIC T)