My searching is failing, but I remember someone publishing a library here that was meant to do exactly that. I can't remember if it was based on arity or on fuzzing or whatever but IRRC it would do the sort of thing you're asking for.
Hope someone else can use search better than me or have a better memory. :) On Tue, Dec 24, 2013 at 8:58 AM, John Kida <jdk...@gmail.com> wrote: > So i am very new to Clojure and I am wondering if there are any good > techniques to finding available methods that will take a particular value. I > understand this is probably very hard to do or even impossible being Clojure > is a dynamic language and a lisp but for example. > > Lets say i have a simple map data structure. Being new to Clojure i just > start fiddling with the REPL, and try: > (keys my-hmap) > cool, got the keys from my map back. > > Now how about values > (values my-hmap) > > nope. wrong method name.. I was able to quickly find it in the Clojure Data > Structures documentation, where it had a few method names for examining a > Map, and linked me to the Clojure Core API, is this something I should > probably go through start to finish, so I have a good idea of what is > available. > > Or is there some technique I can use in the repl to tell me what methods are > available to work with this particular datastructure.. that sounds not > possible due to the dynamic lisp nature of clojure, but I wanted to ask the > community to see if there were some good strategies to learning and finding > available methods to work with a particular value. > > -- > -- > 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 > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.