[Haskell-cafe] Design your modules for qualified import

Isaac Dupree isaacdupree at charter.net
Mon Jun 16 07:43:07 EDT 2008

Henning Thielemann wrote:
> On Mon, 9 Jun 2008, Duncan Coutts wrote:
>> On Mon, 2008-06-09 at 16:04 +0200, Ketil Malde wrote:
>>> And - is there a way to make GHCi use aliased qualification?  I find
>>> my self typing detailed taxonomies all the time there.
>> The ghci syntax currently is:
>> :m Data.Set
>> wouldn't it be much nicer as:
>> import Data.Set
>> then we could have the obvious:
>> import Data.Set as Set
> This would be nice! Feature request?

feature request filed for this, 
http://hackage.haskell.org/trac/ghc/ticket/2362 .  For extending the 
import syntax in general, I wasn't sure we knew quite what we wanted 
yet, so it seemed a little premature for a feature request. (the first 
step in "implementing" the feature request would have to be specifying 
an exact design and probably asking for community feedback).  So let's 
talk about what we do or don't want for that one some more, perhaps.

More information about the Haskell-Cafe mailing list