"Claus Reinke" <[EMAIL PROTECTED]> writes:

> 3) shouldn't there be a way of telling ghc --make about ways
> to generate the .hs/.lhs files it is looking for (aka suffix rules)?
> 
> The standard examples are happy, cpp, drift, ..

If you are willing to switch from ghc --make to hmake, you get various
common suffix rules for free.

    .y      -> Happy
    .ly     -> literate Happy
    .hs.cpp -> cpp
    .gc     -> GreenCard
    .hsc    -> hsc2hs
    .chs    -> c2hs

It is also relatively straightforward to add more pre-processing
rules of this nature to the hmake sources.  For example, do you have
a suggestion for a DrIFT suffix?

Regards,
    Malcolm
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to