blob: 3f3d4ec63ca5ea445be474818094d2518a4ecaa5 (
plain)
1
2
3
4
5
6
7
8
|
drvfail001.hs:16:33:
No instance for (Show (f (f a)))
arising from the first field of ‛ZeroS’ (type ‛f (f a)’)
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
When deriving the instance for (Show (SM f a))
|