Re: [racket] Modifying bindings in parent environment

2010-08-08 Thread Vincent St-Amour
At Sun, 8 Aug 2010 21:59:41 -0400, Joe Snikeris wrote: > 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. Boxes would probably give you what you want. http://docs.racket-lang.

Re: [racket] Modifying bindings in parent environment

2010-08-08 Thread Hari Prashanth
PM GMT -05:00 US/Canada Eastern Subject: [racket] Modifying bindings in parent environment 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

Re: [racket] Modifying bindings in parent environment

2010-08-08 Thread Jakub Piotr Cłapa
On 09.08.10 03:59, Joe Snikeris wrote: 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 Something like this? #lang racket (def

[racket] Modifying bindings in parent environment

2010-08-08 Thread Joe Snikeris
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