
26 Apr
2010
26 Apr
'10
5:54 a.m.
| data R = R {x :: Char, y :: Int, z :: Float} | data R = R {x :: Char, ...} | data R = R {..., y :: Int, ...} | data R = R {..., z :: Float} | | which cannot be parsed.
That's a bug, plain and simple. I know why it happens, too, though I will not bore you with the details. I'll make a Trac ticket.
Thanks. Another related question: ":browse Prelude" of GHC 6.12 displays: data Integer = integer-gmp:GHC.Integer.Type.S# GHC.Prim.Int# | integer-gmp:GHC.Integer.Type.J# GHC.Prim.Int# GHC.Prim.ByteArray# That of GHC 6.10 displays: data Integer = GHC.Integer.Internals.S# GHC.Prim.Int# | GHC.Integer.Internals.J# GHC.Prim.Int# GHC.Prim.ByteArray# Is the additional prefix of "integer-gmp:" intentional or a bug? --Kazu