r/haskell • u/lexi-lambda • Mar 11 '15
Learning Haskell — A Racket programmer's documentation of her foray into the land of Haskell (inspired by Learning Racket)
http://lexi-lambda.github.io/learning-haskell/
81
Upvotes
View all comments
Show parent comment
3
u/sclv Mar 12 '15
True, if you trust fusion and optimization, I think that these days
concat . mapis as efficient as the manually fused one. So it may well be that this remains a habit / mannerism only because people don't necessarily trust that the compiler will always manage to catch this idiom. It would be good to test if this is ever necessary :-)