Skip to content

Instantly share code, notes, and snippets.

@amitrathore
Created January 11, 2013 07:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amitrathore/4508612 to your computer and use it in GitHub Desktop.
Save amitrathore/4508612 to your computer and use it in GitHub Desktop.
(defn pp-str [& things]
(let [s (with-out-str (pprint things))]
(-> s
(.substring 0 (-> s .length dec dec))
(.replace "(" " ")
(str "\n"))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment