Never mind, Rich already took this into account, and multiple-dispatch
already works perfectly.
Now that's seriously cool!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send e
Hi,
Is there an elegant way of expressing multiple-dispatch (with support
for inheritance) with Clojure's multimethod system?
ie. (defmulti get-length :class)
(defmethod get-length :shape []
(bla bla bla))
get-length can be called by any map who's :class is derived
from :shape.
But what if we