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/ORDRING.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/ORDRING.lsp')
-rw-r--r-- | src/algebra/strap/ORDRING.lsp | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/src/algebra/strap/ORDRING.lsp b/src/algebra/strap/ORDRING.lsp index c5109a0a..e25fce4e 100644 --- a/src/algebra/strap/ORDRING.lsp +++ b/src/algebra/strap/ORDRING.lsp @@ -4,23 +4,20 @@ (DEFPARAMETER |OrderedRing;AL| 'NIL) (DEFUN |OrderedRing;| () - (PROG (#0=#:G1402) - (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|)))))) + (LET ((#0=#:G1402 + (|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| () - (LET () - (COND - (|OrderedRing;AL|) - (T (SETQ |OrderedRing;AL| (|OrderedRing;|)))))) + (COND + (|OrderedRing;AL|) + (T (SETQ |OrderedRing;AL| (|OrderedRing;|))))) (MAKEPROP '|OrderedRing| 'NILADIC T) |