[plt-scheme] exception in local variable access from augmented method
On Sat, 6 Dec 2008, Matthew Flatt wrote:
>> So what is a custom set! expander to do here? It cannot judge smudge the
>> syntax to use the built-in set! by passing #'(set! tgt v),
>
> Yes, it should.
Ok - or perhaps just ignore the set!-transformers altogether and pass them
through in the default expansion to set!.
> Hopefully it's clearer now that a transformer created with
> `make-set!-transformer' is intended (by the caller of
> `make-set!-transformer) to work specifically with the usual `set!'.
Yes, thank you.
> We
> don't currently have anything like `make-set!-transformer' that is
> intended to work with context-specific notions of `set!'.
>
I guess syntax-id-rules can be coaxed to do the job by explicitly
requiring the builtin set! to use as a keyword.
-- vyzo