Re: [Haskell-cafe] Applicative and parsec3

27 Jan
2011
27 Jan
'11
5:05 a.m.
On Thu, 27 Jan 2011, Magnus Therning wrote:
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.
For infix operators you would use unqualified explicit imports.
5228
Age (days ago)
5228
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henning Thielemann