[GHC] #3013: New simple GADT feature
GHC
trac at galois.com
Mon Feb 9 14:20:55 EST 2009
#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
More information about the Glasgow-haskell-bugs
mailing list