[Haskell-cafe] Code that writes code

Andrew Coppin andrewcoppin at btinternet.com
Thu Aug 19 17:00:12 EDT 2010

I'm working on a small Haskell package. One module in particular 
contains so much boilerplate that rather than write the code myself, I 
wrote a small Haskell program that autogenerates it for me.

What's the best way to package this for Cabal? Just stick the generated 
file in there? Or is there some (easy) way to tell Cabal how to recreate 
this file itself?

More information about the Haskell-Cafe mailing list