blob: 9e7cbab03a39a61704d9111205587167a32a638e (
plain)
1
2
3
4
5
6
7
8
|
T7328.hs:8:34: error:
Kind occurs check
The first argument of ‘Foo’ should have kind ‘k0’,
but ‘f’ has kind ‘k1 -> k0’
In the type signature:
foo :: a ~ f i => Proxy (Foo f)
In the class declaration for ‘Foo’
|