[racket] Why global lexical variables are visible to eval?

From: Eli Barzilay (eli at barzilay.org)
Date: Tue Apr 5 03:45:22 EDT 2011

6 minutes ago, Kazimir Majorinc wrote:
> (define x 55)
> (eval 'x) => 55
> 
> Is it one of the "top-level oddities" or there is a reason behind that?

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

(Specifically, 15.1.2)

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


Posted on the users mailing list.