Draft: Type patterns (#22478)
A very rough draft. The idea is:
- rename type patterns using a dedicated
rnHsTyPatinstead of relying onrnHsTyKi - use
collectPatsBindersto 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.