[plt-scheme] redefining set!
I looked, but I don't exactly understand what the documentation
is trying to tell me.
--Hans
Carl Eastlund schreef:
> On 6/18/07, Hans Oesterholt-Dijkema <hdnews at gawab.com> wrote:
>> Is it possible to redefine, or override set!?
>> I'd like to extend the behaviour of the set!
>> operator to act context sensitive.
>
> It is possible to bind some other syntax or value to the identifier
> set!, but it is also possible to define set!'s behavior on other
> identifiers using make-set!-transformer. You may want to do that
> instead of changing set! itself. Look up make-set!-transformer in
> Help Desk.
>