[Haskell-cafe] GHC predictability

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue May 13 16:57:13 EDT 2008

Hello Don,

Wednesday, May 14, 2008, 12:34:07 AM, you wrote:

>> high-level understanding of what's going on. The STG paper isn't a good
>> way to get that high-level overview.

> Andrew, would you say you understand the original problem of why

>     mean xs = sum xs / fromIntegral (length xs)

> was a bad idea now? Or why the left folds were a better solution?

i think that the problem is just what xs can't be consumed while it
generated because it's used two times and this may be understood just
by learning reduction graph as strategy of Haskell evaluation. isn't?

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list