aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/ILIST.lsp
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-02-24 04:40:09 +0000
committerdos-reis <gdr@axiomatics.org>2011-02-24 04:40:09 +0000
commitf2d31d8bc90b46e0c3373d2980cfa6f730148d1e (patch)
tree986da80f585f5b6d221c61f54413ccf4c63d628f /src/algebra/strap/ILIST.lsp
parent7eca3ee736c49024a85ad00ff9b0a912d640380c (diff)
downloadopen-axiom-f2d31d8bc90b46e0c3373d2980cfa6f730148d1e.tar.gz
* interp/c-util.boot (isSimple): Accept constructor instantiations.
* algebra/formula.spad.pamphlet: Avoid Lispisms. * algebra/mathml.spad.pamphlet: Likewise. * algebra/op.spad.pamphlet: Likewise. * algebra/sex.spad.pamphlet: Likewise.
Diffstat (limited to 'src/algebra/strap/ILIST.lsp')
-rw-r--r--src/algebra/strap/ILIST.lsp16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/algebra/strap/ILIST.lsp b/src/algebra/strap/ILIST.lsp
index ccff6c9a..f5da4692 100644
--- a/src/algebra/strap/ILIST.lsp
+++ b/src/algebra/strap/ILIST.lsp
@@ -201,10 +201,9 @@
(COND
((NOT (NOT (NULL |x|))) (RETURN NIL))
(T (SEQ (COND
- ((EQL |i| 1000)
- (COND
- ((SPADCALL |x| (|getShellEntry| $ 35))
- (|error| "cyclic list")))))
+ ((AND (EQL |i| 1000)
+ (SPADCALL |x| (|getShellEntry| $ 35)))
+ (|error| "cyclic list")))
(SETQ |y| (CONS (CAR |x|) |y|))
(EXIT (SETQ |x| (CDR |x|))))))
(SETQ |i| (+ |i| 1))))
@@ -385,11 +384,10 @@
(PROG (|l| |q|)
(RETURN
(SEQ (COND
- ((EQL |n| 2)
- (COND
- ((SPADCALL (|SPADfirst| (CDR |p|)) (|SPADfirst| |p|)
- |f|)
- (SETQ |p| (NREVERSE |p|))))))
+ ((AND (EQL |n| 2)
+ (SPADCALL (|SPADfirst| (CDR |p|)) (|SPADfirst| |p|)
+ |f|))
+ (SETQ |p| (NREVERSE |p|))))
(EXIT (COND
((< |n| 3) |p|)
(T (SEQ (LETT |l|