blob: 40a14e7f20283359bb15d829047f986965577365 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
tcfail117.hs:5:32:
Can't make a derived instance of ‛Enum N1’:
‛N1’ must be an enumeration type
(an enumeration consists of one or more nullary, non-GADT constructors)
Try -XGeneralizedNewtypeDeriving for GHC's newtype-deriving extension
In the newtype declaration for ‛N1’
tcfail117.hs:6:32:
Can't make a derived instance of ‛Enum N2’:
‛N2’ must be an enumeration type
(an enumeration consists of one or more nullary, non-GADT constructors)
In the data declaration for ‛N2’
|