guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Eval with local environment?


From: Christopher Howard
Subject: Eval with local environment?
Date: Sat, 19 Aug 2017 13:14:25 -0800

I was just curious: Is there something you can pass to eval procedure
that using the local environment? e.g.,

(let ((foo 12)) (eval 'foo (this-environment)))

to get it to return 12. Of course, you could just

(let ((foo 12)) foo)

But suppose you were working with the identifier 'foo instead for some
reason. All I saw in docs was interaction-environment and null-
environment.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]