blob: cdb692487cdb2aadc2b5023709f5e6044d98a681 (
plain)
1
2
3
4
5
6
7
8
|
readFail039.hs:9:14: error: [GHC-82023]
• 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
|