darcs patch: added cppOptions and c2hsOptions

Ross Paterson ross at soi.city.ac.uk
Wed May 2 04:47:09 EDT 2007


On Wed, May 02, 2007 at 09:09:47AM +0100, Duncan Coutts wrote:
> On Wed, 2007-05-02 at 00:31 +0100, Ross Paterson wrote:
> > BTW, since you're now collecting Haskell files in a single build
> > hierarchy, you could copy the main-is to Main.[l]hs in that hierarchy,
> 
> Why would we want to do that?

To move a little bit of logic from the various compiler-specific parts to
the compiler-independent first phase.  It's not a big deal, but you'll
probably want to do it anyway when fixing #14: allow preprocessing for
Main modules.


More information about the cabal-devel mailing list