On Feb 19, 4:32 am, timc <timgcl...@gmail.com> wrote: > Is #= an undocumented reader macro character? >
Interesting - I had never heard of it either. It appears to allow you to execute code at read-time. user=> (read-string "(foo (+ 2 3) bar)") (foo (+ 2 3) bar) user=> (read-string "(foo #=(+ 2 3) bar)") (foo 5 bar) I guess the ability to disable it with *read-eval* is something to do with reading from an untrusted source. I can't, off the top of my head, think of how I would use this. I thought the ability to run code at macro-expansion time was cool enough - now I find out I can do it at read-time too! -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en