On Mon, Sep 14, 2009 at 03:31:19PM -0400, Andre van Tonder wrote: > On Mon, 14 Sep 2009, Shiro Kawai wrote: > > > I've seen users confused by toplevel forms behaving > > differently when wrapped by begin. I like to follow a > > better REPL semantics if one is ever agreed. > > I agree, having the semantics change when wrapped by BEGIN > is just crazy. IMO it should be a fundamental property > of BEGIN that flattening BEGINs do not change the meaning.
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? Cheers, -- Andrew _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
