[Haskell-cafe] Design your modules for qualified import

Adam Vogt vogt.adam at gmail.com
Mon Jun 9 15:45:44 EDT 2008

* On Monday, June 09 2008, Duncan Coutts 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

ghci does load modules when you type "import Data.Set" already, but it 
doesn't parse "import Data.Set as Set"

More information about the Haskell-Cafe mailing list