[plt-scheme] begin at module top-level

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sun Mar 5 13:40:37 EST 2006

At Sun, 05 Mar 2006 13:11:11 -0500, Sam Tobin-Hochstadt wrote:
> The grammar for fully-expanded syntax (in section 12.6.1 of the mzscheme
> manual) lists (begin module-level-expr ...) as one of the possibilities
> for module-level-expr.  However, I'm unable to devise syntax that
> expands to this.  When can this happen, if ever?

You're right - it can't happen. `begin' forms are always flattened and
inlined in a module top level.

Matthew



Posted on the users mailing list.