blob: 0250c5e6634d6f11987578e6229ebc5b907d4ee3 (
plain)
1
2
3
4
5
6
7
|
gadtSyntaxFail001.hs:8:5:
Data constructor ‛C2’ has existential type variables, a context, or a specialised result type
C2 :: forall a. a -> Char -> Foo a Int
(Use -XExistentialQuantification or -XGADTs to allow this)
In the definition of data constructor ‛C2’
In the data declaration for ‛Foo’
|