> I don't think annonymous functions have anything special to do with FP or OO for that matter. Maybe someone can fill in on this?
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.
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.