incorrect kind inference in template haskell
It looks like a foldl needs to be changed to a foldr somewhere in the code that translates results from GHC's kind inference to the Template Haskell Kind data type.
Given this data declaration:
data F f a = F (f a a a a)
the kind ascribed to f
, as provided in the Info
data structure resultant of reifying F
, is
(((* -> *) -> *) -> *) -> *
Trac metadata
Trac field | Value |
---|---|
Version | 6.12.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Template Haskell |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |