Return to Snippet

Revision: 54063
at December 9, 2011 00:30 by ef


Initial Code
(defn print-map [m]
  (for [[x,y] (seq m)] (println (str x " : " y))))

Initial URL

                                

Initial Description
Function prints all key value pars of Clojure map in key : value format.
Useful in debugging.

Initial Title
Printing map in Clojure

Initial Tags

                                

Initial Language
Clojure