[Haskell-cafe] Why does my module take so long to compile?

Henning Thielemann lemming at henning-thielemann.de
Mon Feb 15 16:39:52 UTC 2021


On Mon, 15 Feb 2021, Troels Henriksen wrote:

> I have a program with about 220 modules.  One of these modules takes
> _much_ longer to compile than the others (several minutes longer).  I
> don't understand why.  It compiled much faster with GHC 8.8.3, but got
> orders of magnitude slower when I changed to GHC 8.10.2.  I don't
> understand why, since I don't think there is nothing special about the
> module - e.g. no type-level programming.

Does the problem persist with GHC-8.10.4?

I would try to out-comment parts of the module and watch when compilation 
becomes faster.


More information about the Haskell-Cafe mailing list