aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/OUTFORM.lsp
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-02-07 00:39:58 +0000
committerdos-reis <gdr@axiomatics.org>2011-02-07 00:39:58 +0000
commit351022a3ec02f6e131d54f3a5bcb27a8dfffbcb0 (patch)
tree0b137b74a6663d6875e7f6d8862833f782032bd4 /src/algebra/strap/OUTFORM.lsp
parent2eef476c721ed93b1acaaf1a77e20b5b7c73ed4f (diff)
downloadopen-axiom-351022a3ec02f6e131d54f3a5bcb27a8dfffbcb0.tar.gz
* interp/c-util.boot (matchingEXIT): New.
(simplifySEQ): Use it.
Diffstat (limited to 'src/algebra/strap/OUTFORM.lsp')
-rw-r--r--src/algebra/strap/OUTFORM.lsp25
1 files changed, 12 insertions, 13 deletions
diff --git a/src/algebra/strap/OUTFORM.lsp b/src/algebra/strap/OUTFORM.lsp
index af6c2e66..e1e58863 100644
--- a/src/algebra/strap/OUTFORM.lsp
+++ b/src/algebra/strap/OUTFORM.lsp
@@ -944,19 +944,18 @@
(DEFUN |OUTFORM;differentiate;$Nni$;97| (|a| |nn| $)
(PROG (|r| |s|)
(RETURN
- (SEQ (COND
- ((ZEROP |nn|) |a|)
- ((< |nn| 4) (|OUTFORM;prime;$Nni$;86| |a| |nn| $))
- (T (SEQ (LETT |r|
- (SPADCALL
- (|check-subtype| (PLUSP |nn|)
- '(|PositiveInteger|) |nn|)
- (|getShellEntry| $ 137))
- |OUTFORM;differentiate;$Nni$;97|)
- (LETT |s| (SPADCALL |r| (|getShellEntry| $ 138))
- |OUTFORM;differentiate;$Nni$;97|)
- (EXIT (|OUTFORM;super;3$;43| |a| (LIST 'PAREN |s|)
- $)))))))))
+ (COND
+ ((ZEROP |nn|) |a|)
+ ((< |nn| 4) (|OUTFORM;prime;$Nni$;86| |a| |nn| $))
+ (T (SEQ (LETT |r|
+ (SPADCALL
+ (|check-subtype| (PLUSP |nn|)
+ '(|PositiveInteger|) |nn|)
+ (|getShellEntry| $ 137))
+ |OUTFORM;differentiate;$Nni$;97|)
+ (LETT |s| (SPADCALL |r| (|getShellEntry| $ 138))
+ |OUTFORM;differentiate;$Nni$;97|)
+ (EXIT (|OUTFORM;super;3$;43| |a| (LIST 'PAREN |s|) $))))))))
(DEFUN |OUTFORM;sum;2$;98| (|a| $)
(DECLARE (IGNORE $))