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

(DEFPARAMETER |CancellationAbelianMonoid;AL| 'NIL) 

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

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

(MAKEPROP '|CancellationAbelianMonoid| 'NILADIC T)