在函数式编程中,您拥有更少的抽象,但是每个抽象都具有通用性(通过一等函数添加特性)。
In functional programming, you have far fewer abstractions, but each one is generic (with specificity added via first-class functions).
函数式语言依赖于一等函数(可在任何其他语言结构可能出现的地方出现的函数)作为参数和返回值。
Functional languages rely on first-class functions (functions that can appear anywhere any other language construct can appear) as parameters and return values. Figure 3 illustrates this concept.
应用推荐