[Haskell-cafe] Stream fusion

Yves Parès limestrael at gmail.com
Fri Nov 18 10:48:11 CET 2011


Hello,

While re-reading RealWorldHaskell, chapter 25, I saw that -- unlike I
believed -- loop fusion wasn't activated by default under GHC for lists
(but that module Data.List.Stream from package stream-fusion could provide
it).
Is that still the case? If not, then are there some cases of list
processing where loop fusion would be a bad thing? (Ergo cases where you
should stick to Prelude/Data.List functions and not use Data.List.Stream
implementation)

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111118/343d7bcc/attachment.htm>


More information about the Haskell-Cafe mailing list