[plt-scheme] Scope of eval?
Jakub Piotr Cłapa
jpc at pld-linux.org
Sun Sep 30 17:40:10 EDT 2007
Carl Eastlund wrote:
> Eval only works on global variables. In your example, x is a field
> bound in a specific object.
Global == top-level.
If you want to eval in some other context either wrap it with a lambda
and call the returned value or play with namespace-* functions.
I have some examples for eval working together with mzc (it was a little
tricky to get right).
--
regards,
Jakub Piotr Cłapa
More information about the plt-scheme
mailing list