Hi,

a quick question:

user=> (keys {:a 1 :b 2})
(:a :b)

But
user=> (key {:a 1})
java.lang.ClassCastException: clojure.lang.PersistentArrayMap cannot
be cast to java.util.Map$Entry (NO_SOURCE_FILE:0)

I see defn key in core.clj, though.
What can be the correct usage of fn key, then?

thanks in advance,
-sun

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