
19 May
2004
19 May
'04
3:13 p.m.
Hello, I have the following structure:
MyProgram/A.hs MyProgram/Aux/B.hs MyProgram/Aux/C.hs
and:
A imports C B imports C
Can I make this work using namespaces only (i.e. no -i flag)? 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? J.A.