<div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">If I use :browse a module with GHC 6.12, it sometimes displays<br>
garbage. Here is an example:<br>
<br>
Prelude> :browse Data.IP<br>
data AddrRange a<br>
= iproute-0.2.0:Data.IP.Range.AddrRange {addr :: a,<br>
mask :: a,<br>
mlen :: Int}<br>
(snip)<br>
data AddrRange a<br>
= iproute-0.2.0:Data.IP.Range.AddrRange {..., mask :: a, ...}<br>
data AddrRange a<br>
= iproute-0.2.0:Data.IP.Range.AddrRange {..., mlen :: Int}<br>
<br>
<br>
"..." is the garbage. Due to this, I cannot parse the output of<br>
:browse. This is not displayed with GHC 6.10.<br>
<br>
Q1) What is the intention of "..."?<br></blockquote><div><br>I believe it's related to the module export list.<br><br>> module Test (y) where<br>> data R = R { x :: Char, y :: Int, z :: Float }<br><br>
*Test> :browse<br>data Test.R = Test.R {..., y :: Int, ...}<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Q2) How to prevent it so that I can obtain output which I can parse?<br></blockquote></div><br>Export all the labels, perhaps?<br><br>Regards,<br>Sean<br>