On Sat, May 7, 2011 at 5:28 PM, Dmitry Kakurin <dmitry.kaku...@gmail.com> wrote:
Let me rephrase my question to avoid unfortunate confusion with standard "count" function: Suppose I have extended my own IMyCountable protocol with a single "mycount" method to String class. What happens when I call (mycount "some string")? - Dmitry If you want to understand how it works you'll need to look at src/clj/clojure/core_deftype.clj and src/jvm/clojure/lang/MethodImplCache.java and src/jvm/clojure/lang/AFunction.java. David -- 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