#3013: New simple GADT feature
-----------------------------+----------------------------------------------
Reporter: guest | Owner:
Type: feature request | Status: new
Priority: normal | Component: Compiler
Version: 6.10.1 | Severity: normal
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-----------------------------+----------------------------------------------
It's somewhat of an anomaly that the following does not work:
{{{
data T where
Foo, Bar :: Int -> T
}}}
Since the comma syntax works for type signatures and records it would be
natural for it to work with GADTs.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3013>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs