blob: a267c3dc828b9234beb316ebc24754ebea24f56b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
TyVarTvKinds3.hs:9:62: error:
• Expected kind ‘k1’, but ‘b’ has kind ‘k2’
‘k2’ is a rigid type variable bound by
the type signature for ‘MkBad’
at TyVarTvKinds3.hs:9:22-23
‘k1’ is a rigid type variable bound by
the type signature for ‘MkBad’
at TyVarTvKinds3.hs:9:19-20
• In the second argument of ‘SameKind’, namely ‘b’
In the first argument of ‘Bad’, namely ‘(SameKind a b)’
In the type ‘Bad (SameKind a b)’
|