Closed huonw closed 11 years ago
It doesn't do much validation of the patterns, beyond what would make them totally unusable (i.e. not fns or macros in a pattern), so something like (match ... ((a a) (+ 1 2)) ...)
will run perfectly well, despite double-binding a
.
Neat! Could we use this to implement fn matching?
That was the plan, although it may require some syntactic changes.
@bjz, r?