Re: [Scheme-reports] Module-level BEGIN is not a BEGIN - please call it something else John Cowan (24 Apr 2011 18:20 UTC)

Re: [Scheme-reports] Module-level BEGIN is not a BEGIN - please call it something else John Cowan 24 Apr 2011 18:20 UTC

Andre van Tonder scripsit:

> So I guess my biggest problem with this overloading is that module
> BEGIN does not just indicate a sequence, but also delimits a lexical
> scope.  This makes it morally very different form all the other
> BEGINs, which never delimit a new lexical scope.

I don't understand why you think that.  Module BEGIN does not introduce
a scope: the only thing that introduces a scope is MODULE.  The contents
of BEGIN and INCLUDE and INCLUDE-CI are spliced into the module scope.

--
He made the Legislature meet at one-horse       John Cowan
tank-towns out in the alfalfa belt, so that     cowan@ccil.org
hardly nobody could get there and most of       http://www.ccil.org/~cowan
the leaders would stay home and let him go      --H.L. Mencken's
to work and do things as he pleased.              Declaration of Independence

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports