by Ace17 · 9y ago · 0 comments
Anonymous functions are of no use until functions are first-class citizens (otherwise, there's no way to call them!), and this has always been the case in FP languages.
I do agree though that the focus on mathematical "purity" is a much more defining characteristic of FP.
And functions as first class citizens is not a particularly high bar. I mean, C has higher order functions.
What is rarer is closures, but that's a different concept. You can have higher-order functions without having closures.
EDIT: but then again, they truely are of no use :P hehe