Why have file names with 3 components?

Keith Wansbrough Keith.Wansbrough@cl.cam.ac.uk
Fri, 28 Sep 2001 12:10:59 +0100


> This looks like a bug, but please don't change it!
> 
> If you have a file A.blah.hs containing a module A, ghc5.02 compiles it, producing A.hi and A.blah.o.

This is correct... the basename for the .hi files is the module name, not the filename.  Thus if A.blah.hs contained "module C where..." then the hi file would be C.hi.

--KW 8-)
-- 
Keith Wansbrough <kw217@cl.cam.ac.uk>
http://www.cl.cam.ac.uk/users/kw217/
Cambridge University Computer Laboratory.