[Haskell-cafe] Use of abbreviations in Haskell

Miguel Mitrofanov miguelimo38 at yandex.ru
Fri Jan 2 15:48:15 EST 2009


>>
>> module Main where
>> import qualified QName as Q
>> import qualified Element as E
>> ... Q.name ... E.name ...
>
> I'm using this pattern of writing code and, so far, I find it very
> convenient. Yet, the code is likely to be spread across lots of files,
> which is not always a Good Thing.

That's a completely different matter. Personally, I think that holding  
each module in a separate file is not a great idea.


More information about the Haskell-Cafe mailing list