blob: 9f14dd1845172600c61f31da1651e723e6194aa1 (
plain)
1
2
3
4
5
6
7
8
|
readFail039.hs:9:14: error:
• Can't make a derived instance of ‘C Foo’:
‘C’ is not a stock derivable class (Eq, Show, etc.)
• In the newtype declaration for ‘Foo’
Suggested fix:
Perhaps you intended to use GeneralizedNewtypeDeriving
for GHC's newtype-deriving extension
|