Created
January 11, 2013 07:09
-
-
Save amitrathore/4508612 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
(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