On Sun, 2008-12-14 at 19:46 +1300, George Pollard wrote: > On Sun, 2008-12-14 at 00:35 -0500, Adam Vogt wrote: > > On another note, is there much use of such simple library functions: does > > concatMap, for instance, save anything other than a couple parantheses, or > > does (concat . map) not necessarily get optimized into the same thing > > Bart Massey’s results suggest very little difference: > http://wiki.cs.pdx.edu/forge/concatmap.html > > (Yellow blobs + green crosses.)
I should have said that, on the other hand, with stream fusion enabled, (concat . map) outperforms (concatMap) :) - George
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe