Unix Dir for .hi Import Files

Alastair Reid reid@cs.utah.edu
08 Jun 2002 12:29:29 +0100


> I'm not sure if there's any standardisation effort or intent for .hi
> files, or whether they are likely to remain GHC-specific for the
> forseeable future, but I was wondering if there should be a standard
> UNIX directory to put them in. For instance:

.hi files used to be standardized but that requirement was removed in
later versions of Haskell.

I don't see what's wrong with putting them in the same directory as
the .o file.  In fact, given that the .hi and .o file must match
exactly (i.e., be generasted from the same .hs file using the same
compiler version and same compiler flags), I see many things wrong
with putting them anywhere other than where the .o file is.

-- 
Alastair Reid        reid@cs.utah.edu        http://www.cs.utah.edu/~reid/