[nhc-bugs] nhc98 module bug
Malcolm Wallace
Malcolm.Wallace@cs.york.ac.uk
Wed, 26 Sep 2001 14:32:17 +0100
> > > import M (T)
> > > import qualified M (foo)
> >
> > The combination of several imports of the same module, some qualified
> > and some unqualified, is something nhc98 gets very wrong at the moment.
> > In this case, I haven't got an easy workaround I'm afraid.
>
> Would importing everything qualified help?
Yes, that is one way to work around the problem. Note however that
nhc98 gets even qualified imports a little bit wrong - you will need
to specify for instance
import qualified M (M.T, foo)
rather than the more natural
import qualified M (T, foo)
Regards,
Malcolm