blob: 2d99b7f415405113f5eba6017956684d6cc4565d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
T16245a.hs:12:66: error: [GHC-25897]
• Expected kind ‘k1’, but ‘b’ has kind ‘k2’
‘k2’ is a rigid type variable bound by
the newtype declaration for ‘T’
at T16245a.hs:12:12
‘k1’ is a rigid type variable bound by
the newtype declaration for ‘T’
at T16245a.hs:12:1-67
• In the second argument of ‘SameKind’, namely ‘b’
In the type ‘(forall (b :: k). SameKind a b)’
In the definition of data constructor ‘MkT’
|