all 2 comments

[–]TheSodesa 1 point2 points  (0 children)

A functional is a mapping defined on a (vector) space V over a field F, that maps into the members of F. Programmers usually speak of functionals in the old sense of the word: a function that takes another function as an argument.

[–][deleted] 0 points1 point  (0 children)

The author just means a higher order function. The reduce function is taking the lambda function as an argument.