blob: 3693158dcca5d452fc1fcd649c51c399953c68ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<interactive>:4:1: error:
• Illegal generalised algebraic data declaration for ‘T’
(Enable the GADTs extension to allow this)
• In the data declaration for ‘T’
ghci057.hs:3:3: error:
• Data constructor ‘C’ has existential type variables, a context, or a specialised result type
C :: T Int
(Enable ExistentialQuantification or GADTs to allow this)
• In the definition of data constructor ‘C’
In the data type declaration for ‘T’
ghci057.hs:3:3: error:
• Data constructor ‘C’ has existential type variables, a context, or a specialised result type
C :: T Int
(Enable ExistentialQuantification or GADTs to allow this)
• In the definition of data constructor ‘C’
In the data type declaration for ‘T’
<interactive>:25:16: error:
• Data constructor ‘C’ has existential type variables, a context, or a specialised result type
C :: T Int
(Enable ExistentialQuantification or GADTs to allow this)
• In the definition of data constructor ‘C’
In the data type declaration for ‘T’
<interactive>:1:1: error: Data constructor not in scope: C
|