> Hi. I'm having a problem: I have a module Foo which imports a module
> Bar. When I try to load Foo into hugs, I get:
> Reading file "Foo.hs":
> Reading file "Bar.hs":
> Reading file "Foo.hs":
> ERROR "Foo.hs": Module "Bar" not previously loaded
> What horribly stupid thing have I done?
> Any help appreciated,
> -- Michael
>
That kind of error message usually happens when the name of one of your
modules is different to the name of the file. Check it.
Best regards, Jose Labra
http://lsi.uniovi.es/~labra