blob: 174623915832066e6f2ba1ceed15248364d8aad8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
T4528.hs:9:1:
Can't make a derived instance of ‛Enum (Foo a)’:
‛Foo’ must be an enumeration type
(an enumeration consists of one or more nullary, non-GADT constructors)
In the stand-alone deriving instance for ‛Enum (Foo a)’
T4528.hs:10:1:
Can't make a derived instance of ‛Bounded (Foo a)’:
‛Foo’ must be an enumeration type
(an enumeration consists of one or more nullary, non-GADT constructors)
or
‛Foo’ must have precisely one constructor
In the stand-alone deriving instance for ‛Bounded (Foo a)’
|