[r6rs-discuss] [Formal] Protocol environment

AndrevanTonder andre at het.brown.edu
Wed Nov 22 10:05:05 EST 2006


On Wed, 22 Nov 2006, Michael Sperber wrote:
>
> I would say that it does---that was certainly the intention.  The
> environment that the `define-record-type' form is exactly the
> environment containing the bindings for the predicates, accessors etc.
> (Didn't exactly this discussion come up during the SRFI discussion?)
> I'll be happy to improve the wording, but, as the wording in place is
> my best shot, I'll need a concrete suggestion.

I think the part "same environment" is perhaps the issue here.  Maybe 
"same lexical scope" would be a better choice.  I don't know if the report 
uses "environment" for "lexical scope" in other places, but if it does, I 
would recommend changing it all to "lexical scope", expecially since 
"environment" is also used with a different meaning in the ocntext of "eval".

Cheers
Andre



More information about the r6rs-discuss mailing list