Here is a quick newbie question.
(def test1 "test1")
(let [test2 "test2"]
(eval (read-string "(println test1)"))
(eval (read-string "(println test2)"))
)
-output
test1
1:1 user=> java.lang.Exception: Unable to resolve symbol: test2 in
this context (testLet.clj:0)
How could (read-string "") access to a binding local to a form?
Is this possible?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---