# Functional Programming: A PragPub Anthology: Incorrect definition of higher-order function (page 11)

**URL:** <https://forum.devtalk.com/t/functional-programming-a-pragpub-anthology-incorrect-definition-of-higher-order-function-page-11/171182>\
**Category:** PragProg Customers\
**Tags:** book-functional-programming-a-pragpub-anthology, errata\
**Created:** [21 September 2024 16:08 UTC](https://forum.devtalk.com/t/functional-programming-a-pragpub-anthology-incorrect-definition-of-higher-order-function-page-11/171182 "2024-09-21T16:08:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahtotruu](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/a/7ba0ec/32.png) [@ahtotruu](https://forum.devtalk.com/u/ahtotruu)\
**Post date:** [21 September 2024 16:08 UTC](https://forum.devtalk.com/t/functional-programming-a-pragpub-anthology-incorrect-definition-of-higher-order-function-page-11/171182/1 "2024-09-21T16:08:11Z")

</div>

The author claims that “higher-order function is a function that can be passed into, or returned from, another function”, but as far as I know (and as is also confirmed on page 16 of the same book), a higher-order function is one that operates on another function, taking it as an argument or returning it as a result. So, in this particular example, `filter` is the higher-order function, not the `isOdd` and `isEven` predicates.
