blob: a3baab23784d15fd657eb1de9521b571cf183472 (
plain)
1
2
3
4
5
6
7
8
9
|
T11399.hs:10:32: error: [GHC-18872]
• 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)’
|