[Haskell-cafe] GHC vs GCC

Tillmann Rendel rendel at Mathematik.Uni-Marburg.de
Sat Mar 27 13:45:36 EDT 2010

Jan-Willem Maessen wrote:
> It's worth pointing out that there's a bit of bang-pattern mysticism 
> going on in this conversation (which has not been uncommon of late!).  A 
> non-buggy strictness analyzer should expose the strictness of these 
> functions without difficulty.  

Could the result of strictness analysis reported in terms of the 
original Haskell program?

   > ghc -O2 -ddump-strictness test.hs

       Top-level function `foo' is found to be strict in the
       first and third argument.

This could help people gain confidence in the strictness analyzer.


More information about the Haskell-Cafe mailing list