Cabal and c2hs

Dominic Steinitz dominic.steinitz at blueyonder.co.uk
Sat Jul 5 03:18:24 EDT 2008


Ignore my previous message, it was a lot simpler than I thought it was

> import Distribution.Simple
> import Distribution.Simple.PreProcess
> 
> main = 
>    defaultMainWithHooks 
>       defaultUserHooks {
>          hookedPreProcessors =  
>             [("chs", ppC2hs)]
>       }

Dominic.



More information about the Libraries mailing list