Hi Everybody,

Why does this work:
---------
user> ((fn [a b] a b) 1 2)
2
---------

But this doesn't:
---------
user> (#(%1 %2) 1 2)
java.lang.ClassCastException: java.lang.Integer cannot be cast to
clojure.lang.IF
---------

Regards,
Santanu

--~--~---------~--~----~------------~-------~--~----~
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
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to