blob: 9174cd0b7d17466e044b0c870d3af5698542ad1d (
plain)
1
2
3
4
5
6
7
8
9
|
T11399.hs:10:32: error:
• Couldn't match kind ‘GHC.Types.RuntimeRep’ with ‘*’
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)’
|