aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/SINT.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/strap/SINT.lsp')
-rw-r--r--src/algebra/strap/SINT.lsp22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/algebra/strap/SINT.lsp b/src/algebra/strap/SINT.lsp
index 683dbae2..87b00200 100644
--- a/src/algebra/strap/SINT.lsp
+++ b/src/algebra/strap/SINT.lsp
@@ -506,18 +506,16 @@
(DEFUN |SingleInteger| ()
(DECLARE (SPECIAL |$ConstructorCache|))
- (PROG (#0=#:G1478)
- (RETURN
- (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|)))))))))
+ (LET ((#0=#:G1478 (HGET |$ConstructorCache| '|SingleInteger|)))
+ (COND
+ (#0# (|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|))))))))
(DEFUN |SingleInteger;| ()
(DECLARE (SPECIAL |$ConstructorCache|))