[racket] eval, namespaces, and the REPL

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Sat Dec 4 07:19:03 EST 2010

At Sat, 4 Dec 2010 05:43:06 -0600, Patrick King wrote:
> Why is it that
> 
> (eval '(+ 1 2))
> 
> works fine in the REPL, but blow up in a source file? Yes, I've grokked that
> there are 2 different namespaces, but why should it be so? And how do I
> express "use the namespace of the file you're in"?

Have you seen this already?:

 http://docs.racket-lang.org/guide/reflection.html



Posted on the users mailing list.