
26 Sep
2001
26 Sep
'01
9:32 a.m.
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