blob: db9f9682de4b35512fa559c15a9d5d8ac93bb705 (
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))))
(SETF (|shellEntry| #0# 0) '(|OrderedRing|))
#0#))
(DEFUN |OrderedRing| ()
(COND
(|OrderedRing;AL|)
(T (SETQ |OrderedRing;AL| (|OrderedRing;|)))))
(MAKEPROP '|OrderedRing| 'NILADIC T)
|