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] |
Hi, I did some experiments with local-eval and found a funny behaviour of "defined?". Is it not possible to quote for a local evaluation? (define the-environment (procedure->macro (lambda (exp env) `',env))) (define e (let ((a 3)) (the-environment))) (local-eval 'a e) => 3 (local-eval '(defined? 'a) e) => #f The variable a evaluates to 3 but Guile says, that it is not defined. -- /* In the beginning was the Word: */ typedef long SCM;