摘要:
In computer science, future, promise, delay, and deferred refer to constructs used for synchronizing program execution in some concurrent programming 阅读全文
摘要:
A monad is created by defining a type constructor M and two operations, bind and return (where return is often also called unit): The unary return ope 阅读全文
摘要:
仿函数(functor),就是使一个类的使用看上去像一个函数。其实现就是类中实现一个operator(),这个类就有了类似函数的行为,就是一个仿函数类了。 In computer programming, a function object[a] is a construct allowing an 阅读全文
摘要:
函数式编程 函数式编程是种编程方式,它将电脑运算视为函数的计算。 而函数式编程是面向数学的抽象,将计算描述为一种表达式求值,一句话,函数式程序就是一个表达式。 面向计算?! In computer science, functional programming is a programming pa 阅读全文
摘要:
维基百科中对偏函数 (Partial application) 的定义为: In computer science, partial application (or partial function application) refers to the process of fixing a num 阅读全文