blob: 071ab5e88e8a333cc420a187af8110d37c2b3df7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
T10503.hs:8:6: error:
Couldn't match kind ‘k’ with ‘*’
‘k’ is a rigid type variable bound by
the type signature for:
h :: forall (k :: BOX) r.
((Proxy 'KProxy ~ Proxy 'KProxy) => r) -> r
at T10503.hs:8:6
Expected type: Proxy 'KProxy
Actual type: Proxy 'KProxy
In the ambiguity check for ‘h’
To defer the ambiguity check to use sites, enable AllowAmbiguousTypes
In the type signature:
h :: forall r.
(Proxy (KProxy :: KProxy k) ~ Proxy (KProxy :: KProxy *) => r) -> r
|