Hi, I started experimenting with core.match.
One thing that isn't obvious to me, how it should work when matching more than one pattern. In the following example, the expression returns 3 or 4 depending on which pattern comes first: (require '[clojure.core.match :as cm]) (cm/match [:a true false] [_ _ true] 1 [:a _ true] 2 [:a true false] 4 [:a true _] 3 ) where as I'd expect it would go for the "most-specific" match at least where the choice is between a wildcard and non-wildcard option. Is it correct to assume, that the algorithm constructs an decision tree that will hit a minimum amount of patterns, however, if there are more than one matching clauses, its result is an arbitrary choice of the possible decisions? Thanks! Laszlo -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.