[Scheme-reports] Rebinding syntactic keywords as variables Andre van Tonder (24 Apr 2011 19:48 UTC)
Re: [Scheme-reports] Rebinding syntactic keywords as variables John Cowan (24 Apr 2011 21:23 UTC)

Re: [Scheme-reports] Rebinding syntactic keywords as variables John Cowan 24 Apr 2011 21:23 UTC

Andre van Tonder scripsit:
> 5.2.1. Toplevel definitions, on p. 19, does not specify what happens
> when we encounter
>
>    (define foo 1)
>
> if FOO has already been previously bound to a transformer by a syntax
> definition.  And vice versa for par. 5.3.

There is a ticket for this.  I'm proposing that this be permitted, but
that existing uses of the syntax keyword in previously defined procedures
aren't affected.  This is the behavior of all known R5RS Schemes except SCM.

--
But you, Wormtongue, you have done what you could for your true master.  Some
reward you have earned at least.  Yet Saruman is apt to overlook his bargains.
I should advise you to go quickly and remind him, lest he forget your faithful
service.  --Gandalf             John Cowan <cowan@ccil.org>

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