blob: 0200cdabd6d81fb1636803588ebaca7d23ed7ad3 (
plain)
1
2
3
4
5
6
|
readFail039.hs:9:14: error:
• Can't make a derived instance of ‘C Foo’:
‘C’ is not a stock derivable class (Eq, Show, etc.)
Try GeneralizedNewtypeDeriving for GHC's newtype-deriving extension
• In the newtype declaration for ‘Foo’
|