In functional programming, lambdas are referred to as first-class functions because they can be.
在函数式编程中,lambdas被称为一流的函数因为它们能够。
In this article, I'll continue this tour of concepts by talking about first-class functions, optimizations, and closures.
在本文中,我将继续讨论这些概念,讲解一级函数、优化和闭包。
Specifically, functional programming languages must provide high-order and first-class functions, which this article defines.
特别地,函数式编程语言必须提供高阶和一流的函数,这是本文所定义的。
This is boring. In fact, you can do some nice things to prove what is the class of functions you can compute with straight-line programs, and what you'd see if you did that is, it's not particularly interesting.
这很无聊,实际上,你可以通过做一些很有趣的事情,来证明你可以通过直线程序,来做很多功能,但是你也看到我们之前讲过的了,这不太有趣。
Now, before, of course, in the first part of the class u we started out looking at u H and then looking at H not as functions of S and V or S and p, but as functions of temperature, mostly.
现在,在本课的前一部分,我们首先讨论了,然后讨论了,这两个量并未写成S和V或者S和p的函数,而是写成了温度的函数。
应用推荐