# Effective Haskell - inaccurate description of filter example (page 61)

**URL:** <https://forum.devtalk.com/t/effective-haskell-inaccurate-description-of-filter-example-page-61/139332>\
**Category:** PragProg Customers\
**Tags:** book-effective-haskell, errata\
**Created:** [12 January 2024 13:37 UTC](https://forum.devtalk.com/t/effective-haskell-inaccurate-description-of-filter-example-page-61/139332 "2024-01-12T13:37:50Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![tusktenon](https://forum.devtalk.com/user_avatar/forum.devtalk.com/tusktenon/32/5844_2.png) [@tusktenon](https://forum.devtalk.com/u/tusktenon)\
**Post date:** [13 January 2024 14:43 UTC](https://forum.devtalk.com/t/effective-haskell-inaccurate-description-of-filter-example-page-61/139332/3 "2024-01-13T14:43:33Z")

</div>

It’s actually not a bad example of the differing use cases for map and filter: if the problem is to “sum the odd numbers between _m_ and _n_,” then filter is perfect; if the problem is to “sum the first _n_ odd numbers,” map is more appropriate.

I’ve only made it to chapter 3 so far, but I’m really enjoying the book!

---

_[View the full topic](https://forum.devtalk.com/t/effective-haskell-inaccurate-description-of-filter-example-page-61/139332)._
