I'm guessing this is either impossible or I'm missing something obvious. Say I have this:
(defprotocol X (foo [x] [x y])) For the sake of implementation inheritance, I'd like to define one of the arities in map x1: (def x1 {:foo (fn [x] "x1")}) And the other arity in x2: (def x2 {:foo (fn [x y] "x2")}) Is there any way I can merge those two guys to extend them both to type T? (extend T X (merge-with ??? x1 x2)) Or something else? Thanks, Jim -- -- 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.