Skip to content

Instantly share code, notes, and snippets.

@jebberjeb
Created October 15, 2013 19:55
Show Gist options
  • Save jebberjeb/6997654 to your computer and use it in GitHub Desktop.
Save jebberjeb/6997654 to your computer and use it in GitHub Desktop.
(def a-map {:foo "foozle" :bar "barzle"})
(prn "reader readable -- read-string works")
(prn a-map)
(eval (read-string (with-out-str (pr a-map))))
(println "human readable -- read-string throws")
(println a-map)
(eval (read-string (with-out-str (print a-map))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment