scm-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Scm-discuss] eval couldn't bind local variable?


From: Tom Kwong
Subject: [Scm-discuss] eval couldn't bind local variable?
Date: Sat, 2 Apr 2011 17:57:57 -0700

Hi,

I'm new to scheme but is puzzled by the following behavior.  Can someone help 
explain what's going on here?

(letrec ((x 0)) (eval 'x))  
=> unbound variable: x

(define a 3)
(letrec ((x 0)) (eval 'a))  
=> 3

FT


reply via email to

[Prev in Thread] Current Thread [Next in Thread]