Hi all, Why should 'first and 'second work on maps, but not 'nth?
user> (key (first {:a 1 :b 2 :c 3})) :a user> (key (nth {:a 1 :b 2 :c 3} 0)) ; Evaluation aborted. java.lang.UnsupportedOperationException: nth not supported on this type: PersistentArrayMap (NO_SOURCE_FILE:0) [Thrown class clojure.lang.Compiler$CompilerException] Thanks, Hugh --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---