[Haskell-cafe] types and number of evaluation steps

Roman Cheplyaka roma at ro-che.info
Sat Feb 18 14:38:00 CET 2012


* Holger Siegel <holgersiegel74 at yahoo.de> [2012-02-18 12:52:08+0100]
> You cannot. Common subexpression elimination is done by GHC very
> conservatively, because it can not only affect impure programs: it can
> also affects strictness/lazyness and worsen memory usage of pure code.
> Like the HaskellWiki says: "If you care about CSE, do it by hand."

How can it affect strictness or laziness?

-- 
Roman I. Cheplyaka :: http://ro-che.info/



More information about the Haskell-Cafe mailing list