Last Updated: March 21, 2019
·
2.94K
· 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)))