aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/formula.spad.pamphlet
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/formula.spad.pamphlet
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/formula.spad.pamphlet')
-rw-r--r--src/algebra/formula.spad.pamphlet2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/algebra/formula.spad.pamphlet b/src/algebra/formula.spad.pamphlet
index 384fad69..a39f786d 100644
--- a/src/algebra/formula.spad.pamphlet
+++ b/src/algebra/formula.spad.pamphlet
@@ -398,7 +398,7 @@ ScriptFormulaFormat(): public == private where
formatFormula(expr,prec) ==
i : Integer
- ATOM(expr)$Lisp pretend Boolean =>
+ not %pair?(expr)$Foreign(Builtin) =>
str := stringify expr
%integer?(expr)$Foreign(Builtin) =>
i := expr : Integer