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/DIVRING.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/DIVRING.lsp')
-rw-r--r-- | src/algebra/strap/DIVRING.lsp | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/src/algebra/strap/DIVRING.lsp b/src/algebra/strap/DIVRING.lsp index 40a7f53a..89d83592 100644 --- a/src/algebra/strap/DIVRING.lsp +++ b/src/algebra/strap/DIVRING.lsp @@ -4,24 +4,20 @@ (DEFPARAMETER |DivisionRing;AL| 'NIL) (DEFUN |DivisionRing;| () - (PROG (#0=#:G1399) - (RETURN - (PROG1 (LETT #0# - (|sublisV| - (PAIR '(#1=#:G1398) - (LIST '(|Fraction| (|Integer|)))) - (|Join| (|EntireRing|) (|Algebra| '#1#) - (|mkCategory| '|domain| - '(((** ($ $ (|Integer|))) T) - ((|inv| ($ $)) T)) - NIL '((|Integer|)) NIL))) - |DivisionRing|) - (|setShellEntry| #0# 0 '(|DivisionRing|)))))) + (LET ((#0=#:G1399 + (|sublisV| + (PAIR '(#1=#:G1398) (LIST '(|Fraction| (|Integer|)))) + (|Join| (|EntireRing|) (|Algebra| '#1#) + (|mkCategory| '|domain| + '(((** ($ $ (|Integer|))) T) + ((|inv| ($ $)) T)) + NIL '((|Integer|)) NIL))))) + (|setShellEntry| #0# 0 '(|DivisionRing|)) + #0#)) (DEFUN |DivisionRing| () - (LET () - (COND - (|DivisionRing;AL|) - (T (SETQ |DivisionRing;AL| (|DivisionRing;|)))))) + (COND + (|DivisionRing;AL|) + (T (SETQ |DivisionRing;AL| (|DivisionRing;|))))) (MAKEPROP '|DivisionRing| 'NILADIC T) |