There used to be this useful utility called show in clojure.contrib. Now, that it's deprecated, is there an equivalent to it?
Thanks!
There used to be this useful utility called show in clojure.contrib. Now, that it's deprecated, is there an equivalent to it?
Thanks!
I refer you to the Where Did Clojure.Contrib Go document, which says about clojure.contrib.repl-utils:
The clojure.reflect API documentation is here, and the clojuredocs.org examples are here.
De-constructing
show
to be more "simple", making available distinct pieces of re-usable functionality, was discussed by Stuart Halloway in a talk he give on clojure simplicity.The resulting code makes use of
clojure.reflect/reflect
andclojure.pprint/print-table
and standard clojurefilter
: