[Haskell-cafe] Compilation of large data

Henning Thielemann lemming at henning-thielemann.de
Fri Jan 29 12:22:24 UTC 2021


On Fri, 29 Jan 2021, Sylvain Henry wrote:

> Could you open a GHC ticket with a reproducing example?
> 
> It looks similar to https://gitlab.haskell.org/ghc/ghc/-/issues/16577 so you may have more chance with `-O0`.

If disabling optimization helps, then it might be useful to disable it 
only for this module by adding a pragma to the top of the module:

{-# OPTIONS_GHC -O0 #-}


More information about the Haskell-Cafe mailing list