aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/DIFRING.lsp
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-05-05 01:23:36 +0000
committerdos-reis <gdr@axiomatics.org>2010-05-05 01:23:36 +0000
commit5768bef1b2b7cd3fd38733a26a33ec2f0d8e6c01 (patch)
treebbe038276bb180f6d391dee2ca22388cd1aba2d2 /src/algebra/strap/DIFRING.lsp
parent9d2955097e1bd70c06df5c5a55da67fb151466c2 (diff)
downloadopen-axiom-5768bef1b2b7cd3fd38733a26a33ec2f0d8e6c01.tar.gz
* interp/c-util.boot (backendCompileSPADSLAM): Generate more
readable Lisp code.
Diffstat (limited to 'src/algebra/strap/DIFRING.lsp')
-rw-r--r--src/algebra/strap/DIFRING.lsp32
1 files changed, 14 insertions, 18 deletions
diff --git a/src/algebra/strap/DIFRING.lsp b/src/algebra/strap/DIFRING.lsp
index d3d403d7..c19b4ed8 100644
--- a/src/algebra/strap/DIFRING.lsp
+++ b/src/algebra/strap/DIFRING.lsp
@@ -4,25 +4,21 @@
(DEFPARAMETER |DifferentialRing;AL| 'NIL)
(DEFUN |DifferentialRing;| ()
- (PROG (#0=#:G1396)
- (RETURN
- (PROG1 (LETT #0#
- (|Join| (|Ring|)
- (|mkCategory| '|domain|
- '(((|differentiate| ($ $)) T)
- ((D ($ $)) T)
- ((|differentiate|
- ($ $ (|NonNegativeInteger|)))
- T)
- ((D ($ $ (|NonNegativeInteger|))) T))
- NIL '((|NonNegativeInteger|)) NIL))
- |DifferentialRing|)
- (|setShellEntry| #0# 0 '(|DifferentialRing|))))))
+ (LET ((#0=#:G1396
+ (|Join| (|Ring|)
+ (|mkCategory| '|domain|
+ '(((|differentiate| ($ $)) T) ((D ($ $)) T)
+ ((|differentiate|
+ ($ $ (|NonNegativeInteger|)))
+ T)
+ ((D ($ $ (|NonNegativeInteger|))) T))
+ NIL '((|NonNegativeInteger|)) NIL))))
+ (|setShellEntry| #0# 0 '(|DifferentialRing|))
+ #0#))
(DEFUN |DifferentialRing| ()
- (LET ()
- (COND
- (|DifferentialRing;AL|)
- (T (SETQ |DifferentialRing;AL| (|DifferentialRing;|))))))
+ (COND
+ (|DifferentialRing;AL|)
+ (T (SETQ |DifferentialRing;AL| (|DifferentialRing;|)))))
(MAKEPROP '|DifferentialRing| 'NILADIC T)