This is an excerpt from Manning's book The Joy of Clojure, Second Edition. Login to get full access to this book.
Figure 9.6. Most languages allowing type derivations use a built-in conflictresolution strategy. In the case of CLOS, it’s fully customizable. Clojure requires conflicts to be resolved with prefermethod.