Spurious recompilations when using a compiler plugin

Conal Elliott conal at conal.net
Mon Sep 18 20:05:09 UTC 2017


It appears that use of GHC plugins causes client code to get needlessly
recompiled. (See Trac issues 12567
<https://ghc.haskell.org/trac/ghc/ticket/12567> and 7414
<https://ghc.haskell.org/trac/ghc/ticket/7414>.) It’s becoming more of a
problem for usability of the plugin
<http://conal.net/papers/compiling-to-categories> I’ve been developing, and
I’m wondering what can be done. Some questions:

   - Is there any work in progress on fixing this situation?
   - Are there serious obstacles to fixing it?
   - Do plugin writers or users have any workarounds?

Other insights appreciated.

– Conal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20170918/f21b01a4/attachment.html>


More information about the ghc-devs mailing list