three dots of :browse

Kazu Yamamoto ( 山本和彦 ) kazu at iij.ad.jp
Sat Apr 24 11:42:32 EDT 2010


>> Q1) What is the intention of "..."?
> 
> I believe it's related to the module export list.
> 
>> module Test (y) where
>> data R = R { x :: Char, y :: Int, z :: Float }
> 
> *Test> :browse
> data Test.R = Test.R {..., y :: Int, ...}

Thank you for your reply.

The target module exposes like this:

module Test (R(..)) where

So, this is not the case which you referred to.

--Kazu


More information about the Glasgow-haskell-users mailing list