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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to