blob: 19f7f9aa98dc98dbc9fdf5d46d922b89c66c43e7 (
plain)
1
2
3
4
5
6
7
8
|
T2851.hs:9:15: error:
• No instance for ‘Show (F a)’
arising from the first field of ‘D’ (type ‘F a’)
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
• When deriving the instance for (Show (D a))
|