HCoop
/
clinton
/
parenscript.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79630c8
)
Changed let to not introduce any extra variables (for parallel
author
Vladimir Sedach
<vsedach@gmail.com>
Tue, 3 Feb 2009 01:14:32 +0000
(18:14 -0700)
committer
Vladimir Sedach
<vsedach@gmail.com>
Tue, 3 Feb 2009 01:14:32 +0000
(18:14 -0700)
binding) when only one variable is being bound.
src/special-forms.lisp
patch
|
blob
|
blame
|
history
diff --git
a/src/special-forms.lisp
b/src/special-forms.lisp
index
ab4084e
..
e525e8e
100644
(file)
--- a/
src/special-forms.lisp
+++ b/
src/special-forms.lisp
@@
-608,7
+608,7
@@
lambda-list::=
`(simple-let* ,bindings ,@body))
(defpsmacro let (bindings &body body)
- `(
simple-let
,bindings ,@body))
+ `(
,(if (= 1 (length bindings)) 'simple-let* 'simple-let)
,bindings ,@body))
(define-ps-special-form let1 (expecting binding &rest body)
(ecase expecting