[plt-scheme] trying not to use eval

From: Noel Welsh (noelwelsh at yahoo.com)
Date: Tue Oct 29 09:55:11 EST 2002

Common Lisp allows you to get the function associated
with a symbol with the symbol-function function. 
There is no equivalent in R5RS Scheme that I'm aware
of.  However you can do it in PLT Scheme in a
restricted sense.  The question comes down to which
environment you want to resolve the symbol in.  If you
want to resolve the symbol in the current top-level
environment then you can use


To do the resolution in the lexical
environment...there's no way I know.


PS: Who's that stern person admonishing me when I do
something wrong?!? ;-)  I guess it's that birthday
time of the year again.  Happy birthday Matthias!

Do you Yahoo!?
HotJobs - Search new jobs daily now

Posted on the users mailing list.