three dots of :browse

Simon Peyton-Jones simonpj at microsoft.com
Mon Apr 26 05:48:23 EDT 2010


| Again, my question is: suppose the following code is given:
| 
| module Test (R(..)) where
| data R = R { x :: Char, y :: Int, z :: Float }
| 
| and ":browse" of GHC 6.12 displays:
| 
| 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.

Simon


More information about the Glasgow-haskell-users mailing list