Missed beta reductions

Simon Peyton Jones simonpj at microsoft.com
Mon Mar 26 23:14:07 UTC 2018


GHC always beta-reduces.

It does not always inline.   For that: -ddump-inlinings

Simon

From: ghc-devs <ghc-devs-bounces at haskell.org> On Behalf Of David Feuer
Sent: 26 March 2018 23:59
To: ghc-devs at haskell.org
Subject: Missed beta reductions

What's the best way to find spots where GHC saw a redex and choose not to beta reduce? Is there a flag for that? It could be useful when trying to figure out why rules aren't firing.


David Feuer
Well-Typed, LLP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20180326/c38df41d/attachment.html>


More information about the ghc-devs mailing list