blob: dd8da1eff90b5f9da4809fff625a32e3b3f4bb55 (
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
27
28
29
|
(/VERSIONCHECK 2)
(DEFPARAMETER |AbelianGroup;AL| 'NIL)
(DEFUN |AbelianGroup;| ()
(PROG (#0=#:G1398)
(RETURN
(PROG1 (LETT #0#
(|Join| (|CancellationAbelianMonoid|)
(|mkCategory| '|domain|
'(((- ($ $)) T) ((- ($ $ $)) T)
((* ($ (|Integer|) $)) T))
NIL '((|Integer|)) NIL))
|AbelianGroup|)
(SETELT #0# 0 '(|AbelianGroup|))))))
(DEFUN |AbelianGroup| ()
(LET ()
(COND
(|AbelianGroup;AL|)
(T (SETQ |AbelianGroup;AL| (|AbelianGroup;|))))))
(SETQ |$CategoryFrame|
(|put| '|AbelianGroup| '|isCategory| T
(|addModemap| '|AbelianGroup| '(|AbelianGroup|)
'((|Category|)) T '|AbelianGroup| |$CategoryFrame|)))
(MAKEPROP '|AbelianGroup| 'NILADIC T)
|