On Thu, Feb 09, 2012 at 11:41:31AM -0400, Stuart Halloway wrote: > > clojure.reflect/reflect gets you the same information as a big 'ole data > > structure. You can pprint it for readability. > > > > The only thing that was not ported was the formatted text output, which > > would be easy enough to reproduce based on `reflect`. > > In particular, reflect + clojure.pprint/print-table. >
=> (require 'clojure.reflect) nil => (require 'clojure.pprint) nil => (clojure.pprint/print-table (clojure.reflect/reflect Math)) ClassCastException clojure.lang.Keyword cannot be cast to java.util.Map$Entry clojure.lang.APersistentMap$KeySeq.first (APersistentMap.java:132) But reflect is useful enough just as a map, so problem solved, thanks! -ken -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en