blob: a52735be0ded471fe4f4341e483ed7e78e9835fc (
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
|
(/VERSIONCHECK 2)
(DEFPARAMETER |UniqueFactorizationDomain;AL| 'NIL)
(DEFUN |UniqueFactorizationDomain;| ()
(LET ((#0=#:G1372
(|Join| (|GcdDomain|)
(|mkCategory| '|domain|
'(((|prime?| ((|Boolean|) $)) T)
((|squareFree| ((|Factored| $) $)) T)
((|squareFreePart| ($ $)) T)
((|factor| ((|Factored| $) $)) T))
NIL '((|Factored| $) (|Boolean|)) NIL))))
(SETF (|shellEntry| #0# 0) '(|UniqueFactorizationDomain|))
#0#))
(DEFUN |UniqueFactorizationDomain| ()
(COND
(|UniqueFactorizationDomain;AL|)
(T (SETQ |UniqueFactorizationDomain;AL|
(|UniqueFactorizationDomain;|)))))
(MAKEPROP '|UniqueFactorizationDomain| 'NILADIC T)
|