[Template-haskell] TH preprocessing

Wolfgang Jeltsch wolfgang at jeltsch.net
Mon May 10 01:13:55 EDT 2004


Hello,

is there a program which takes a Haskell source file, compiles it with 
-ddump-splices, replaces the splices in the source file with the dumped code 
and outputs the resulting file?  I'd like such a tool since I think it would 
it make possible to use TH with Hugs.  You would preprocess each file with 
this program and feed Hugs with the resulting files.

Wolfgang



More information about the template-haskell mailing list