Jorge Adriano Aires
jadrian at mat.uc.pt
Wed May 19 22:56:09 EDT 2004
> I expected this to work:
> > MyProgram/A.hs name: A import Aux.C
> > MyProgram/Aux/B.hs name: Aux.B import C
> > MyProgram/Aux/C.hs name: Aux.C
> But complains when importing C from B since its name is Aux.C.
> What is the most elegant way to deal with such cases?
Answering myself, this works:
> MyProgram/A.hs name: A import Aux.C
> MyProgram/Aux/B.hs name: Aux.B import Aux.C
> MyProgram/Aux/C.hs name: Aux.C
I just have to load B from MyProgram when testing it in ghci, instead of
loading it in MyProgram/Aux. Thanks to Lunar for the tip.
More information about the Glasgow-haskell-users