[Haskell-cafe] TH splicing and recompilation checking

Johannes Waldmann waldmann at imn.htwk-leipzig.de
Tue Jul 16 19:41:19 CEST 2013


we are using template Haskell to splice in some code
that is produced by reading and transforming the contents of another file. 

now, if this "other file" is touched (by editing),
but not the main file, then ghc (and cabal) do not realize 
that the main file does need to be recompiled.

is there a way to tell them about the dependency?

(example main file: 

- J.W.

More information about the Haskell-Cafe mailing list