2009/6/30 Meikel Brandmeyer <m...@kotka.de>: > Hi, > > Am 30.06.2009 um 08:22 schrieb Laurent PETIT: > >> Here would be the function returning a lazy seq of the map entries : >> >> (def #^{:docstring "Returns a lazy seq of java.util.Map.MapEntry for >> the map given as an argument." } mapentries (partial map identity)) >> >> (mapentries {:a 1 :b 2}) => ([:a 1] [:b 2]) (lazy seq) > > Isn't (seq the-map) sufficient? (see Rich's message)
Yes, totally :-$ > > Sincerely > Meikel > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---