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

Multimethods are dispatched using isa?.

The idiomatic Clojure way of doing what you want is to define *one*  
method against something higher up in the hierarchy than both :a and :b.

For example, if your two values are ::get and ::head, perhaps you  
should be defining a handler for ::idempotent-http-method.

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