blob: a4ded68e8bfb56a8f0597329665f780bd4bf9bb1 (
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 |OrderedRing;AL| 'NIL)
(DEFUN |OrderedRing;| ()
(PROG (#0=#:G1403)
(RETURN
(PROG1 (LETT #0#
(|Join| (|OrderedAbelianGroup|) (|Ring|) (|Monoid|)
(|mkCategory| '|domain|
'(((|positive?| ((|Boolean|) $)) T)
((|negative?| ((|Boolean|) $)) T)
((|sign| ((|Integer|) $)) T)
((|abs| ($ $)) T))
NIL '((|Integer|) (|Boolean|)) NIL))
|OrderedRing|)
(|setShellEntry| #0# 0 '(|OrderedRing|))))))
(DEFUN |OrderedRing| ()
(LET ()
(COND
(|OrderedRing;AL|)
(T (SETQ |OrderedRing;AL| (|OrderedRing;|))))))
(MAKEPROP '|OrderedRing| 'NILADIC T)
|