[racket] Modifying bindings in parent environment

From: Joe Snikeris (joe at snikeris.com)
Date: Sun Aug 8 21:59:41 EDT 2010

Hi all,

Is there a way for a procedure to modify bindings in it's parent
environment?  I suppose the technique would be similar to passing a
C-style pointer to the procedure.

For example:

(define p 1)
(f p 3)
p
> 3

Define f...

Thanks in advance,
Joe


Posted on the users mailing list.