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] |
On Feb 24, Roland Orre decided to present us with: > <alexander.asteroth@informatik.uni-bonn.de> writes: > > ... Local eval (with > > a local environment) seems to be a good choice, but I can't figure out > > how to specify a proper environment. ... > I have "the-enviroment" defined as: > (define the-environment > (procedure->syntax > (lambda(x env) env))) > then you can do e.g. > (define foo (the-environment)) > and later > (local-eval expr foo) But how can I get a closed environment object to work with? So that, for example (define foo 1) (local-eval '(define foo 2) env) would leave foo as 1 outside env? []s, |alo +---- -- I am Lalo of deB-org. You will be freed. Resistance is futile. http://www.webcom.com/lalo mailto:lalo@webcom.com pgp key in the web page Debian GNU/Linux -- http://www.debian.org