> is there an equivalent of java.util.Map.entrySet() or an iterator over > that? i see things for getting the keys alone, or the vals alone. i > guess off the cuff i find it odd that doseq on a map doesn't give me > k-v pairs as the entries by default, but gives them interleaved.
If you're talking about Clojure maps, I'm not sure I understand you: you can destructure the values you receive in doseq (or anywhere else, such as the map function) -- user=> (doseq [[k v] {:foo 5 :bar 6}] (println k v)) :foo 5 :bar 6 Is that what you want? -R --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---