HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
269ce43
)
(lambda*): Make sure that BODY is always put into a
author
Marius Vollmer
<mvo@zagadka.de>
Sat, 9 Jun 2001 18:14:22 +0000
(18:14 +0000)
committer
Marius Vollmer
<mvo@zagadka.de>
Sat, 9 Jun 2001 18:14:22 +0000
(18:14 +0000)
real body context so that it can contain internal definitions.
Thanks to Matthias Köppe!
ice-9/optargs.scm
patch
|
blob
|
blame
|
history
diff --git
a/ice-9/optargs.scm
b/ice-9/optargs.scm
index
2ee0411
..
fd4db65
100644
(file)
--- a/
ice-9/optargs.scm
+++ b/
ice-9/optargs.scm
@@
-294,7
+294,8
@@
`((if (not (null? ,rest-gensym))
(error "Too many arguments.")))
'())
- ,@BODY)))
+ (let ()
+ ,@BODY))))
`(lambda (,@non-optional-args . ,(if rest-arg rest-arg '()))
,@BODY))))))