1 min read 33 words Updated Sep 24, 2026 Created Sep 24, 2026
#functionalprogramming

Functors are functions, that take a function and a value as a parameter. e. g. JavaScript's map:

function addOne() {}

// takes the array, and the function "addOne"
[1, 2, 3].map(addOne)