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