
27 Jan
2011
27 Jan
'11
4:34 a.m.
2011/1/27 Henning Thielemann
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@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus