On 11 February 2012 10:35, Ken Restivo <k...@restivo.org> 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 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

Reply via email to