tldr:
- Matchers are mostly identical to what's in the repo today, except:
- I added "predicate matchers" (
if(<boolean-expr>)) and removed theif(...)part from thematch()syntax. - Added
ident when <matcher>binding-matcher form, to match its usage in destructuring. - Made regex matchers use
/foo/ when <matcher>for consistency (and removed the named bindings for simplicity). - Added a simpler custom-matcher syntax (
foo(<matchers>))
- I added "predicate matchers" (