[racket] setf in scheme
On Thu, Dec 30, 2010 at 10:34 AM, Razvan Rotaru <roti_343 at yahoo.com> wrote:
>
> I was just wondering whether there is anything like setf in scheme. As far
> as I know there isn't, so I'm asking you, the more experienced schemers out
> there. If not, why? Could it be crafted with macros?
The Swindle collection of impressive macros provides a generalized `set!'. See
http://docs.racket-lang.org/swindle/
and
http://barzilay.org/Swindle/turbo-doc.html#set!
--
sam th
samth at ccs.neu.edu