[plt-scheme] redefining set!

From: Carl Eastlund (cce at ccs.neu.edu)
Date: Mon Jun 18 15:50:47 EDT 2007

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.

Carl Eastlund

Posted on the users mailing list.