blob: a2a149594caf3c8510bde97e0c0c7bb47efda3a8 (
plain)
1
2
3
4
5
6
7
8
9
|
drvfail001.hs:16:33:
No instance for (Show (f (f a)))
arising from the 'deriving' clause of a data type declaration
Possible fix:
add an instance declaration for (Show (f (f a)))
or use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
When deriving the instance for (Show (SM f a))
|