blob: a7bd1ab477a06c2157cd894b484ffad382c83c49 (
plain)
1
2
3
4
5
6
|
T6147.hs:13:32: error:
Couldn't match type ‘Int’ with ‘Foo’
arising from the coercion of the method ‘foo’
from type ‘Int -> T Int’ to type ‘Foo -> T Foo’
When deriving the instance for (C Foo)
|