symbol, 'X in the last case, implements IFn, and you're calling it with the symbol 'Y as an argument.
On Mon, Oct 8, 2012 at 9:43 AM, Brian Craft <craft.br...@gmail.com> wrote: > user=> ("X" "Y") > ClassCastException java.lang.String cannot be cast to clojure.lang.IFn > user/eval116 (NO_SOURCE_FILE:32) > user=> '(X Y) > (X Y) > user=> ['X 'Y] > [X Y] > user=> '[X Y] > [X Y] > user=> ('X 'Y) > nil > > > All of these are as I expected except the last, which I thought would throw > something like the 1st case. What's going on there? > > -- > 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 -- 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