|
GADTs and infix?: msg#00054lang.haskell.glasgow.bugs
In ghc 6.5, why does this GADT definition get accepted data DArrowX :: * -> * -> * where and also this one data DArrowX :: * -> * -> * where but this not one data DArrowX :: * -> * -> * where which yields Malformed constructor signature: (a, b) DArrowX (a', b) In the signature of a data constructor: a DArrowX a' -> (a, b) DArrowX (a', b) In the data type declaration for `DArrowX' Is this a bug? - Conal
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [GHC] #826: Optimization breaks strictness with IO, GHC |
|---|---|
| Next by Date: | [GHC] #827: Overlapped pattern warnings for lazy patterns, GHC |
| Previous by Thread: | [GHC] #826: Optimization breaks strictness with IO, GHC |
| Next by Thread: | RE: GADTs and infix?, Simon Peyton-Jones |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |