On Wed, Apr 11, 2012 at 3:56 AM, Alex Shabanov <avshaba...@gmail.com> wrote: > Here is the quick clojure sample: > > user=> (def p1 `(or a b)) > #'user/p1 > user=> (def p2 '(or a b)) > #'user/p2 > user=> (= (first p1) 'or) > false > user=> (= (first p2) 'or) > true > > At the same time this seems unique to clojure as the clisp behavior differs: > > [1]> (setf p1 `(or a b)) > (OR A B) > [2]> (setf p2 '(or a b)) > (OR A B) > [3]> (eq (first p1) 'or) > T > [4]> (eq (first p2) 'or) > T > > The difference in quoted and backquoted form interpretation by the reader > strikes me as odd - why imported symbols (like `or') treated in different > ways?
`or becomes user/or rather than just or. (In fact, the first part will be the namespace where the `or is.) -- 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