New simple GADT feature
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.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.10.1 |
| Type | FeatureRequest |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | lennart@augustsson.net |
| Operating system | |
| Architecture |