[Haskell-cafe] Applicative and parsec3

Henning Thielemann lemming at henning-thielemann.de
Thu Jan 27 11:05:46 CET 2011

On Thu, 27 Jan 2011, Magnus Therning wrote:

> 2011/1/27 Henning Thielemann <lemming at henning-thielemann.de>:
>> On Thu, 27 Jan 2011, Kazu Yamamoto (山本和彦) wrote:
>>> I'm using parsec3 with the applicative style. Since the functions in
>>> Control.Applicative and parsec3 conflicts, I need to use the "hiding"
>>> keyword as follows:
>>>        import Control.Applicative hiding (many,optional,(<|>))
>>>        import Text.Parsec
>> There are several reasons to stick to explicit or qualified imports:
>>  http://www.haskell.org/haskellwiki/Import_modules_properly
> What that article fails to mention is the inconvenience of using
> qualified imports in combination with operators.

For infix operators you would use unqualified explicit imports.

More information about the Haskell-Cafe mailing list