aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/strap/NNI.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'src/algebra/strap/NNI.lsp')
-rw-r--r--src/algebra/strap/NNI.lsp21
1 files changed, 8 insertions, 13 deletions
diff --git a/src/algebra/strap/NNI.lsp b/src/algebra/strap/NNI.lsp
index 1288e89c..96730ae9 100644
--- a/src/algebra/strap/NNI.lsp
+++ b/src/algebra/strap/NNI.lsp
@@ -62,19 +62,14 @@
(HREM |$ConstructorCache| '|NonNegativeInteger|)))))))))))
(DEFUN |NonNegativeInteger;| ()
- (PROG (|dv$| $ |pv$|)
- (RETURN
- (PROGN
- (LETT |dv$| '(|NonNegativeInteger|)
- . #0=(|NonNegativeInteger|))
- (LETT $ (|newShell| 22) . #0#)
- (|setShellEntry| $ 0 |dv$|)
- (|setShellEntry| $ 3
- (LETT |pv$| (|buildPredVector| 0 0 NIL) . #0#))
- (|haddProp| |$ConstructorCache| '|NonNegativeInteger| NIL
- (CONS 1 $))
- (|stuffDomainSlots| $)
- $))))
+ (LET ((|dv$| (LIST '|NonNegativeInteger|)) ($ (|newShell| 22))
+ (|pv$| (|buildPredVector| 0 0 NIL)))
+ (|setShellEntry| $ 0 |dv$|)
+ (|setShellEntry| $ 3 |pv$|)
+ (|haddProp| |$ConstructorCache| '|NonNegativeInteger| NIL
+ (CONS 1 $))
+ (|stuffDomainSlots| $)
+ $))
(MAKEPROP '|NonNegativeInteger| '|infovec|
(LIST '#(NIL NIL NIL NIL NIL (|Integer|) (0 . |Zero|) (4 . |Zero|)