Draft: Type patterns (#22478)
A very rough draft. The idea is:
- rename type patterns using a dedicated
rnHsTyPat
instead of relying onrnHsTyKi
- use
collectPatsBinders
to check for duplicate bindings
This closely mirrors term-level patterns.
A very rough draft. The idea is:
rnHsTyPat
instead of relying on rnHsTyKi
collectPatsBinders
to check for duplicate bindingsThis closely mirrors term-level patterns.