matchure
matchure copied to clipboard
Powerful, idiomatic pattern matching for clojure
Hi Drew, here it is: - version up'd to 0.13.0-SNAPSHOT - compiled and tested against Clojure 1.5.1 - big number types (M suffix) do not match anymore against other numeric...
You have if-match, but why not add a match? predicate.
An example from my project which doesn't compile can be found here: https://gist.github.com/1244987 The compiler reports: Compiling match1.core Exception in thread "main" java.io.IOException: File name too long (core.clj:7) at clojure.lang.Compiler.analyzeSeq(Compiler.java:5376)...
Hi, I've really appreciated your work, keep updating it :) I've found very verbose having to specify the fully qualified class name in my match: why I can't do, for...
Not even sure this is a bug, maybe just a limitation...but it seems recur cannot be used as else clause in if-match, because the else clause is wrapped as a...
When trying to construct a function for balancing a red-black tree we ran into a problem when constructing a set of four different patterns for matching a tree. The heap...
I note that it's not possible to do the following: (def my-match {:foo java.lang.Integer}) (if-match [my-match {:foo 1}] true) This could be cool since you define types ahead of time...