Is there a pretty printing function in Clojure that would output data-structures like lists and structs in a human-readable way?
+2
A:
Not yet, but the feature has been discussed and is (presumably) under development by a couple people close to Clojure.
mipadi
2008-11-17 12:48:11
+4
A:
There was a post on the Clojure mailing list yesterday, where a few people posted some trial implementations of a pretty-printer. But as mipadi said, it's not finalized yet.
Brian Carper
2008-11-19 22:49:08
+3
A:
clojure-contrib now has a pprint function.
The API documentation is at http://richhickey.github.com/clojure-contrib/pprint-api.html
Ajit George
2010-04-20 23:14:25