On Fri, Jul 1, 2011 at 2:32 PM, Jeffrey Schwab <[email protected]>wrote:
> Is there any way to make the Clojure repl pretty-print by default? > > I have a bunch of little functions that return things like directory > listings and git output, mostly as seqs of lines or Files. I could > change the functions to pretty-print (rather than return) their > results, but I often want to pass the result of one function to > another. The optimal solution (I think) would be if the Clojure > repl's printer would pretty-print function results by default. > > Try: (clojure.main/repl :print pprint) -- Dave -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
