Hi,

I wondered as I wandered out under the sky...

... if I perform a simple compilation without any flags at all, will
there be a default strictness analysis pass to transform:

     sum []     s = s
     sum (x:xs) s = sum xs (x+s)
to:
     sum []     s = s
     sum (x:xs) s = case (x+s) of       -- force the evaluation
                    s' -> sum xs s'
Does such a transformation pass exist in ghc and if so how to invoke it?

- Aik Hui

Reply via email to