Created
October 15, 2013 19:55
-
-
Save jebberjeb/6997654 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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