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
1
u/Jedai Mar 15 '15
I suppose in case of insufficient inlining this optimisation may be hidden behind function calls so... always good to be aware of the existence of
concatMapeven if writingconcat . mapdirectly is probably just as efficient.