[Haskell-cafe] TH splicing and recompilation checking
mgsloan at gmail.com
Tue Jul 16 19:50:08 CEST 2013
Yup, such a thing exists! I think it's a little bit obscure because for
some bizarre reason it isn't reexported by Language.Haskell.TH:
On Tue, Jul 16, 2013 at 10:41 AM, Johannes Waldmann <
waldmann at imn.htwk-leipzig.de> 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 --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe