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.
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
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
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
4 matches
Mail list logo