[Haskell-cafe] Non-technical Haskell question

Henning Thielemann iakd0 at clusterf.urz.uni-halle.de
Tue Dec 7 14:13:01 EST 2004

On Tue, 7 Dec 2004, Brian Smith wrote:

> FWIW, I use a directory structure like:
>     src/       source code
>     build//   intermediate files (.hi, .o)
>     dist/      deliverables
> I execute GHC using:
>     ghc --make Main -isrc -hidir build -odir build -o dist/program
> As a result, I never have any non-source files mixed in with the
> source files. So, I think what you want is possible today.

The difference is that for Modula-3 the same effect is achieved by e.g.
 that is, I never called the compiler but always used the M3 build system.
Would be nice to have this with Haskell, too. Maybe 'hmake' and Cabal can
help here? 

More information about the Haskell-Cafe mailing list