On Mon, May 21, 2012 at 6:08 PM, Mark Engelberg <mark.engelb...@gmail.com>wrote:
> As I proposed in an earlier email, one brainstorm I have about this is: > > (get-protocol-implementation <type> <protocol-or-interface>) gives you > back a mapping of the functions used by that type to implement that > protocol. > I think there's some assumptions here about what level of granularity protocols are intended to work at right? Most of protocols in ClojureScript are 1 or 2 fns. If you need to provide partial implementations perhaps it's a sign the protocol design needs further work? The only two protocols that involve specifying more than 2 fns is IWatchable (3) and MultiFn (5). It's not clear to me that they would benefit from partial specification. Do you have a more specific example in mind? 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