blob: f310dd7bd08b288dd08d0be8770e48fe70a048a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
(/VERSIONCHECK 2)
(DEFPARAMETER |OrderedRing;AL| 'NIL)
(DEFUN |OrderedRing;| ()
(LET ((#0=#:G1378
(|Join| (|OrderedAbelianGroup|) (|Ring|) (|Monoid|)
(|mkCategory| '|domain|
'(((|positive?| ((|Boolean|) $)) T)
((|negative?| ((|Boolean|) $)) T)
((|sign| ((|Integer|) $)) T)
((|abs| ($ $)) T))
NIL '((|Integer|) (|Boolean|)) NIL))))
(|setShellEntry| #0# 0 '(|OrderedRing|))
#0#))
(DEFUN |OrderedRing| ()
(COND
(|OrderedRing;AL|)
(T (SETQ |OrderedRing;AL| (|OrderedRing;|)))))
(MAKEPROP '|OrderedRing| 'NILADIC T)
|