Updated the patch based on comments from rhickey.
New sample syntax is:
(binding [*read-eval* false] (read-string "#=(eval (def x 3))" ))
throws an Exception
Joshua
### Eclipse Workspace Patch 1.0
#P Clojure
Index: src/clj/clojure/core.clj
===
Sample syntax is:
#r()
#r(eval (def x 3)) works fine
#r(#=(eval (def x 3))) will throw an exception
Joshua
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to cl
I think I have a fix for Issue 34 (Disable EvalReader with a *read-
eval* flag). I added the *read-eval* variable and also created a
dispatch reader that sets the value at read time. Let me know any
comments.
Joshua
### Eclipse Workspace Patch 1.0
#P Clojure
Index: src/jvm/clojure/lang