| Wouldn't the simpler solution be to follow hbc and nhc98's practice
| of naming both the .hi and the .o file for the original filename,
| rather than for Main?  This seems to work well.

I'll leave Simon to comment on most of what you say, but this part I
understand.  If you  name the .hi file for the source file (not the
module) how do you find the file when some other module says "import
Foo".  We look for Foo.hi, but that won't work if the interface for Foo
is stored in a file called NotFoo.hi.  The interface file really must go
with the module name, no?

simon


_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to