[Haskell-cafe] Design your modules for qualified import

Loup Vaillant loup.vaillant at gmail.com
Sat Jun 7 11:31:29 EDT 2008


2008/6/6 Andrew Coppin <andrewcoppin at btinternet.com>:
> Until very recently, it was not at all clear to me that there is actually a
> very simple solution to this problem:
>
>  import Text.ParserCombinators.Parsec as P
>
> Now I only have to write "P.runPaser", which is much shorter.

Err, I have a beginner question, then:
Is there any difference between:

import Very.Long.Module.Name as M

and:

import qualified Very.Long.Module.Name as M

?
Loup


More information about the Haskell-Cafe mailing list