On Jan 20, 2009, at 17:49, Christophe Grand wrote:

> user=> (ancestors clojure.lang.IPersistentVector)
> #{clojure.lang.Sequential clojure.lang.Associative
> clojure.lang.IPersistentCollection clojure.lang.Reversible
> clojure.lang.IPersistentStack}
>
> Hence clojure.lang.IPersistentVector clearly dominates
> clojure.lang.IPersistentCollection: there's no need for prefer-method.
> "prefer-method <http://clojure.org/api#prefer-method> is used for
> disambiguating in case of multiple matches where neither dominates the
> other."

The problem I see is that this "domination" is nowhere defined or  
explained, nor mentioned anywhere except in the documentation of  
prefer-method. When reading source code or documentation, I can be  
worse than a lawyer ;-)

Konrad.



--~--~---------~--~----~------------~-------~--~----~
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
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to