What is the best way to filter nil values from a Clojure map {}?
nil
{}
{ :a :x :b nil :c :z } ;;=> { :a :x, :c :z }
The nicest way of doing this is actually(into {} (keep second {:a :x :b nil}))
(into {} (keep second {:a :x :b nil}))