Refactor type families in Template Haskell
I see that we now have OpenTypeFamilyD
and ClosedTypeFamilyD
in Template Haskell. These constructors have quite a lot in common, and I think it's worth having a TypeFamilyHead
datatype that contains the bits in common.
Trac metadata
Trac field | Value |
---|---|
Version | 7.11 |
Type | Task |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Template Haskell |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |