blob: 44c1bb977b95d7cd2a8032bdfe53ad83936ad4a3 (
plain)
1
2
3
4
5
6
7
8
|
mod54.hs:3:22: error: [GHC-39999]
• No instance for ‘Eq T’
arising from the 'deriving' clause of a data type declaration
Possible fix:
use a standalone 'deriving instance' declaration,
so you can specify the instance context yourself
• When deriving the instance for (Ord T)
|