[Haskell-cafe] TH splicing and recompilation checking
travitch at cs.wisc.edu
Tue Jul 16 21:01:00 CEST 2013
I think you want qAddDependentFile in Language.Haskell.TH.Syntax
On Tue, Jul 16, 2013 at 05:41:19PM +0000, Johannes Waldmann wrote:
> 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.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: not available
More information about the Haskell-Cafe