This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Changing the environment


Hi,

is it possible to get and change the environment of a given closure?

The function 

(define f (lambda (arg) (display arg) (display x) (display y) )

has an environment, which is an obarray with one entry: "arg". Now I
want to add the key/value pairs x=1, y=2 to this environment and call
the function again. Possible?


Jost