Hi again,
the source of the problem was not an import, but a name of the module, which was
not Main, as the Haskell report requires. So it is not a bug at all.
I still do not think that "lookupName: invalid module" is the best error message
one could expect. Why not
runhugs: the main module should have the name "Main", not "TestImport"
Sorry for the false report
Ilya
Earlier today I wrote:
> On import of certain library modules (Random, IOExts, Trace)
> runhugs fails with a cryptic message
>
> runhugs: lookupName: invalid module
<skipped>