[Haskell-cafe] type signature of parsec functions and how to warp them up.

Brandon Allbery allbery.b at gmail.com
Fri Jun 17 08:25:51 CEST 2011

On Fri, Jun 17, 2011 at 02:19, 吴兴博 <wuxb45 at gmail.com> wrote:
> I also tried to use 'import Text.Parsec ()'
> It works, now I'm wondering does '()' really hide everything.

You just confirmed that it's instances being imported; instances are
global and cannot be hidden, so "import Module ()" imports all of the
instances defined in Module but none of the functions.

brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms

More information about the Haskell-Cafe mailing list