Applicative and parsec3

Magnus Therning magnus at therning.org
Thu Jan 27 10:34:51 CET 2011


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.

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus



More information about the Libraries mailing list