Re: a handy little function I haven't seen before

2011-02-02 Thread George Jahad
Actually, you should thank hiredman, for adding the original wall-hack- field. I just wrapped some lipstick around it. On Feb 2, 9:40 am, Dan Larkin wrote: > George this is super cool!  I can't wait to see this show up in swank-clojure > *ahem* Phil. > > On Feb 2, 2011, at 12:03 PM, George Jah

Re: a handy little function I haven't seen before

2011-02-02 Thread Dan Larkin
George this is super cool! I can't wait to see this show up in swank-clojure *ahem* Phil. On Feb 2, 2011, at 12:03 PM, George Jahad wrote: > > show's a very cool function, but has a different purpose, (afaik). > > It displays the structure of an instance, but not it's contents. get- > all-f

Re: a handy little function I haven't seen before

2011-02-02 Thread George Jahad
show's a very cool function, but has a different purpose, (afaik). It displays the structure of an instance, but not it's contents. get- all-fields displays the contents. For example, if "a" is defined like so: (def a (partial conj [98])) get-all-fields will show me that the parameters to par

Re: a handy little function I haven't seen before

2011-02-02 Thread Miki
FYI: There is clojure.contrib.repl-utils/show -- 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 un

a handy little function I haven't seen before

2011-02-01 Thread George Jahad
get-all-fields dumps all the fields contained by the object. Handy for exploring functions with closures, like those created by partial, comp, and memoize. https://gist.github.com/806595 -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to thi