[racket] eval question

From: Eli Barzilay (eli at barzilay.org)
Date: Thu Mar 31 12:51:27 EDT 2011

About a minute ago, prad wrote:
> if i run the last line in the repl, it works.
> however, if i just try to run the program i the following error:
> 
> compile: unbound identifier (and no #%app syntax transformer is bound)
> at: display in: (display phr)
> 
> so it seems that it doesn't recognize the function "display".
> 
> is it not able to access the original namespace then?
> what is the solution for doing something like this?

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

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!


Posted on the users mailing list.