aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/CABMON.lsp
blob: 7f0c5d45901c2fd1369ca3ac1bb829581ced7df0 (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=#:G1396)
    (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)