aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/SINT.lsp
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-07-25 00:12:57 +0000
committerdos-reis <gdr@axiomatics.org>2010-07-25 00:12:57 +0000
commitf5181e8acaf34cb5a26a30bd3901a19485933c6d (patch)
treee30eb7600dbe651222f96e3d977e052285475227 /src/algebra/strap/SINT.lsp
parentc19e54f03e3230811e6c86998568ce63ccbc42c9 (diff)
downloadopen-axiom-f5181e8acaf34cb5a26a30bd3901a19485933c6d.tar.gz
* interp/cattable.boot: Use %true for truth value in VM expressions.
* interp/clam.boot: Likewise. * interp/define.boot: Likewise. * interp/format.boot: Likewise. * interp/functor.boot: Likewise. * interp/g-opt.boot: Likewise. * interp/mark.boot: Likewise. * interp/pspad1.boot: Likewise. * interp/pspad2.boot: Likewise. * interp/slam.boot: Likewise. * interp/wi1.boot: Likewise. * interp/wi2.boot: Likewise. * interp/sys-constants.boot: Remove $true and $false as unused.
Diffstat (limited to 'src/algebra/strap/SINT.lsp')
-rw-r--r--src/algebra/strap/SINT.lsp23
1 files changed, 11 insertions, 12 deletions
diff --git a/src/algebra/strap/SINT.lsp b/src/algebra/strap/SINT.lsp
index d5afc6c2..44f7224c 100644
--- a/src/algebra/strap/SINT.lsp
+++ b/src/algebra/strap/SINT.lsp
@@ -294,7 +294,7 @@
(|getShellEntry| $ 15))
(SPADCALL |dev| (QSMINUS |x|) (|getShellEntry| $ 18))
(EXIT (SPADCALL |dev| (|getShellEntry| $ 19)))))
- ('T (SPADCALL |dev| |x| (|getShellEntry| $ 18))))))
+ (T (SPADCALL |dev| |x| (|getShellEntry| $ 18))))))
(DEFUN |SINT;OMwrite;$S;2| (|x| $)
(LET* ((|s| "") (|sp| (OM-STRINGTOSTRINGPTR |s|))
@@ -499,8 +499,8 @@
((QSMINUSP |r|)
(COND
((QSMINUSP |n|) (QSDIFFERENCE |x| |n|))
- ('T (QSPLUS |r| |n|))))
- ('T |r|))))
+ (T (QSPLUS |r| |n|))))
+ (T |r|))))
(DEFUN |SINT;coerce;I$;59| (|x| $)
(|check-subtype| (SMINTP |x|) '(|SingleInteger|) |x|))
@@ -516,7 +516,7 @@
(DEFUN |SINT;unitNormal;$R;62| (|x| $)
(COND
((QSLESSP |x| 0) (VECTOR (QSMINUS 1) (QSMINUS |x|) (QSMINUS 1)))
- ('T (VECTOR 1 |x| 1))))
+ (T (VECTOR 1 |x| 1))))
(DEFUN |SingleInteger| ()
(DECLARE (SPECIAL |$ConstructorCache|))
@@ -525,14 +525,13 @@
(COND
((SETQ #0# (HGET |$ConstructorCache| '|SingleInteger|))
(|CDRwithIncrement| (CDAR #0#)))
- ('T
- (UNWIND-PROTECT
- (PROG1 (CDDAR (HPUT |$ConstructorCache| '|SingleInteger|
- (LIST (CONS NIL
- (CONS 1 (|SingleInteger;|))))))
- (SETQ #0# T))
- (COND
- ((NOT #0#) (HREM |$ConstructorCache| '|SingleInteger|)))))))))
+ (T (UNWIND-PROTECT
+ (PROG1 (CDDAR (HPUT |$ConstructorCache| '|SingleInteger|
+ (LIST (CONS NIL
+ (CONS 1 (|SingleInteger;|))))))
+ (SETQ #0# T))
+ (COND
+ ((NOT #0#) (HREM |$ConstructorCache| '|SingleInteger|)))))))))
(DEFUN |SingleInteger;| ()
(LET ((|dv$| (LIST '|SingleInteger|)) ($ (|newShell| 116))