On 11/27/06, Lennart Augustsson <lennart@augustsson.net> wrote:
GHC doesn't normally do CSE.  CSE can cause space leaks, so you can't
do it willy-nilly.
I'm sure there are some strict contexts where it could be done
safely, but I don't think ghc uses that information (yet).

        -- Lennart



My apologies in advance for asking possibly stupid questions, but I don't understand this.

How exactly can CSE cause space leaks, and what does this have to do with strictness?


Cheers,

Dinko