mirror of
https://github.com/github/semantic.git
synced 2024-11-29 02:44:36 +03:00
6b476d0eb7
@tclem and I found ourselves wanting an arrow-like combinator that promotes a given function to a Matcher. While I think an Arrow instance is going a little overboard, there's no harm in adding a 'purely' function, the naming of which is commensurate with the rewriting DSL. This also renames the module, since there's not anything really abstract about matching (indeed, it is quite concrete). |
||
---|---|---|
.. | ||
Spec.hs |