Last Updated: March 21, 2019
·
1.833K
· alexvpopov

Iterate over a map in Clojure

(def book {:title "Grit" :author "Angela Duckworth"})

(doseq [[key value] book] (println (format "%s is %s" key value)))