Clojure pretty print?

Hey, how do I pretty print a string in clojure? clojure.pprint doesn’t seem to be supported and I need to see the exact data structure for a puzzle!

Try adding
(ns user (:use clojure.pprint))
at the top of the code. Then call
(pprint "foo")

1 Like

Oh my god, that worked! I can’t believe I didn’t think of trying that! Thank you so much!