Clojure Programming/Examples/API Examples/Multimethod

This page list examples of how to create Multi-Methods with the Clojure API.

defmulti
This is an example of using multi-methods without using a hierarchy:

defmethod
Another example where the defmulti takes arguments and evaluates them before calling the defmethod