chiark
/
gitweb
/
~mdw
/
lisp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f2d46aa
)
base: Fix bug in `while'.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 23 Apr 2006 00:07:42 +0000
(
01:07
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 23 Apr 2006 00:07:42 +0000
(
01:07
+0100)
Did I ever use this?
mdw-base.lisp
patch
|
blob
|
blame
|
history
diff --git
a/mdw-base.lisp
b/mdw-base.lisp
index 787255b386f4c4c2ba32ef6c1604c040f4152fce..72b5b06c82f4a3af3d7565a3f385847643405199 100644
(file)
--- a/
mdw-base.lisp
+++ b/
mdw-base.lisp
@@
-149,7
+149,7
@@
(defmacro nlet (name binds &body body)
(defmacro while (cond &body body)
"If COND is false, evaluate to nil; otherwise evaluate BODY and try again."
`(loop
- (unless
`
cond (return))
+ (unless
,
cond (return))
,@body))
;;;--------------------------------------------------------------------------