three dots of :browse
Kazu Yamamoto ( 山本和彦 )
kazu at iij.ad.jp
Sat Apr 24 01:07:15 EDT 2010
Hello,
If I use :browse a module with GHC 6.12, it sometimes displays
garbage. Here is an example:
Prelude> :browse Data.IP
data AddrRange a
= iproute-0.2.0:Data.IP.Range.AddrRange {addr :: a,
mask :: a,
mlen :: Int}
(snip)
data AddrRange a
= iproute-0.2.0:Data.IP.Range.AddrRange {..., mask :: a, ...}
data AddrRange a
= iproute-0.2.0:Data.IP.Range.AddrRange {..., mlen :: Int}
"..." is the garbage. Due to this, I cannot parse the output of
:browse. This is not displayed with GHC 6.10.
Q1) What is the intention of "..."?
Q2) How to prevent it so that I can obtain output which I can parse?
--Kazu
More information about the Glasgow-haskell-users
mailing list