Re:Functors and Monads for People Who Have Read Too Many “Tu...
by _ph_ on Saturday June 26, 2021 @09:46AM
(#27641792)
Sounds like you are describing high order functions as they are known from Lisp?
[ Parent
| on HN ]
Re:Functors and Monads for People Who Have Read Too Many “Tu...
by aszen on Saturday June 26, 2021 @03:50PM
(#27645203)
Yes higher order functions. A function that takes a function as an argument or returns a function.
In lisp you can think of a higher order function as taking data, processing it and then returning it just like any other normal function because code is data.