On Tue, 15 Sep 2009, Andrew Reilly wrote: > I don't agree. If it does nothing else, an unclosed begin says > "there is more to come", right up to the closing parenthesis. I > think that it would be crazy for it to be required to execute > internal statements before the begin form was closed. Begin is > just syntax for ((lambda () ...)), right?
No, it is not. It is unfortunate that R5RS erroneously tried to compare the two. BEGIN does not introduce a new scope ever, not on the toplevel and not internally. LAMBDA, on the other had, always introduces a new scope, and bindings defined in the LAMBDA above would be invisible from outside the LAMBDA, as opposed to bidnings defined inside a BEGIN.. Andre _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
