This is a good workaround—however, I still wish repl-utils/show was still there. It was nice to always have it there instead doing this defn every time I need it to explore a Java API.
On Sat, Feb 11, 2012 at 6:30 PM, Michał Marczyk <[email protected]>wrote: > On 11 February 2012 10:35, Ken Restivo <[email protected]> wrote: > > => (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) > > print-table expects a sequence of maps, e.g. > > (print-table (:members (reflect Math))) > > or > > (print-table (:members (reflect Math :ancestors true))) > > to include inherited members. > > Sincerely, > Michał > > -- > 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 > -- 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
