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)

Sincerely
Meikel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to