blob: e061d41bce8158fbb3b51d32a13084b07016617f (
plain)
1
2
3
4
5
6
7
8
9
10
|
T11142.hs:9:49: error:
• Expected kind ‘k’, but ‘b’ has kind ‘k0’
because kind variable ‘k’ would escape its scope
This (rigid, skolem) kind variable is bound by
an explicit forall k (a :: k)
at T11142.hs:9:26-35
• In the second argument of ‘SameKind’, namely ‘b’
In the type signature:
foo :: forall b. (forall k (a :: k). SameKind a b) -> ()
|