blob: 5e098700886a32b0b4eaa476fd935b30710478ef (
plain)
1
2
3
4
5
6
7
8
9
|
T11399.hs:7:32: error:
• Couldn't match kind ‘*’ with ‘GHC.Types.RuntimeRep’
When matching kinds
k :: * -> *
TYPE :: GHC.Types.RuntimeRep -> *
Expected kind ‘* -> *’, but ‘UhOh k’ has kind ‘k * -> *’
• In the first argument of ‘Functor’, namely ‘UhOh k’
In the instance declaration for ‘Functor (UhOh k)’
|