Hi, Ranko. I *think* it's because vectors are handled specially during dispatch, to easily handle both dispatching on multiple args and hierarchies:
"isa?<http://clojure.github.io/clojure/clojure.core-api.html#clojure.core/isa?>works with vectors by calling isa?<http://clojure.github.io/clojure/clojure.core-api.html#clojure.core/isa?>on their corresponding elements: (isa? [::square ::rect] [::shape ::shape])" --Leif On Monday, May 12, 2014 8:41:35 PM UTC-4, r wrote: > > Why is something like > > (derive [::matrix ::ring-element] ::ring-element) > > prevented by the assertion in clojure.core/derive? > Is there something that is an actual show-stopper > or is this an implementation detail? > > Cheers, > ranko > > > -- 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/d/optout.