Hi,

Am 02.09.2009 um 01:44 schrieb Richard Newman:

  (into {}
    (filter (fn [[key val]]
              (even? val))
    {:dog 5 :cat 4 :mouse 7 :cow 6}))

And to show one more road to Rome (where all roads lead to):

(into {} (for [[k v] the-map :when (even? v)] [k v]))

Sincerely
Meikel

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

Reply via email to