diff options
author | dos-reis <gdr@axiomatics.org> | 2010-05-05 01:23:36 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2010-05-05 01:23:36 +0000 |
commit | 5768bef1b2b7cd3fd38733a26a33ec2f0d8e6c01 (patch) | |
tree | bbe038276bb180f6d391dee2ca22388cd1aba2d2 /src/algebra/strap/GCDDOM.lsp | |
parent | 9d2955097e1bd70c06df5c5a55da67fb151466c2 (diff) | |
download | open-axiom-5768bef1b2b7cd3fd38733a26a33ec2f0d8e6c01.tar.gz |
* interp/c-util.boot (backendCompileSPADSLAM): Generate more
readable Lisp code.
Diffstat (limited to 'src/algebra/strap/GCDDOM.lsp')
-rw-r--r-- | src/algebra/strap/GCDDOM.lsp | 40 |
1 files changed, 18 insertions, 22 deletions
diff --git a/src/algebra/strap/GCDDOM.lsp b/src/algebra/strap/GCDDOM.lsp index f3866954..cf17f4a6 100644 --- a/src/algebra/strap/GCDDOM.lsp +++ b/src/algebra/strap/GCDDOM.lsp @@ -4,29 +4,25 @@ (DEFPARAMETER |GcdDomain;AL| 'NIL) (DEFUN |GcdDomain;| () - (PROG (#0=#:G1402) - (RETURN - (PROG1 (LETT #0# - (|Join| (|IntegralDomain|) - (|mkCategory| '|domain| - '(((|gcd| ($ $ $)) T) - ((|gcd| ($ (|List| $))) T) - ((|lcm| ($ $ $)) T) - ((|lcm| ($ (|List| $))) T) - ((|gcdPolynomial| - ((|SparseUnivariatePolynomial| $) - (|SparseUnivariatePolynomial| $) - (|SparseUnivariatePolynomial| $))) - T)) - NIL - '((|SparseUnivariatePolynomial| $) - (|List| $)) - NIL)) - |GcdDomain|) - (|setShellEntry| #0# 0 '(|GcdDomain|)))))) + (LET ((#0=#:G1402 + (|Join| (|IntegralDomain|) + (|mkCategory| '|domain| + '(((|gcd| ($ $ $)) T) + ((|gcd| ($ (|List| $))) T) + ((|lcm| ($ $ $)) T) + ((|lcm| ($ (|List| $))) T) + ((|gcdPolynomial| + ((|SparseUnivariatePolynomial| $) + (|SparseUnivariatePolynomial| $) + (|SparseUnivariatePolynomial| $))) + T)) + NIL + '((|SparseUnivariatePolynomial| $) (|List| $)) + NIL)))) + (|setShellEntry| #0# 0 '(|GcdDomain|)) + #0#)) (DEFUN |GcdDomain| () - (LET () - (COND (|GcdDomain;AL|) (T (SETQ |GcdDomain;AL| (|GcdDomain;|)))))) + (COND (|GcdDomain;AL|) (T (SETQ |GcdDomain;AL| (|GcdDomain;|))))) (MAKEPROP '|GcdDomain| 'NILADIC T) |