Hi,

I'd like to know whether there is already something in clojure.contrib
that installs a method with multiple dispatch-values, i.e. given a
multimethod like:

(defmulti some-multi identity)

instead of installing several methods with different dispatch values
that do the same thing:

(defmethod some-multi :a [arg] (do-something))
(defmethod some-multi :b [arg] (do-something))

I'd like to have something like this:

(hypothetic-defmethods some-multi [:a :b] [arg] (do-something))

Is this already somehow in clojure.contrib (if so, I'm unable to find
it)?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to