On Tue, Sep 15, 2009 at 8:28 PM, Lynn Winebarger <[email protected]> wrote:
> This whole discussion shows why making "define" forms special
> binding forms was an error.  Expressions would be wholly
> compositional if `define' always operated on the top-level (or
> library-level) environment.  Instead here we see their special
> treatment used to argue for much more complicated
> processing than is actually necessary.
>

Out of morbid curiosity I consulted the reports and it appears that R1RS
is the last to omit mention of internal definitions.  The grammar given
would imply `define' could appear internally and the semantics specified
imply that it would always establish or modify a binding in the global
environment.

Can anyone familiar with the implementations (implementation?) of the time
say whether `define' could actually be used internally with global effect?

Thanks,
Lynn

_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss

Reply via email to