Posted By

ef on 12/09/11


Tagged

print map


Versions (?)

Printing map in Clojure


 / Published in: Clojure
 

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

  1. (defn print-map [m]
  2. (for [[x,y] (seq m)] (println (str x " : " y))))

Report this snippet  

You need to login to post a comment.