blob: c1830b143e75f742aeb88c2314c2d30be6fafe86 (
plain)
1
2
3
4
5
6
7
|
T1133A.hs:6:28:
Can't make a derived instance of ‛Enum X’:
‛X’ 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 ‛X’
|