It is a breakthrough comparable to our invention of the lambda sensor for the catalytic converter in 1976.
这是一个可以与我们在1976年发明的用于催化转化器的含氧传感器相媲美的突破。
Delegates, events, and lambda expressions.
委托、事件和lambda表达式。
Listing 17 shows the new lambda-based approach.
清单17给出使用lambda函数的新方法。
Whatever happened to the return type of lambda functions?
lambda函数的返回类型怎么处理?
For example, can the lambda function in Listing 17 access vs?
例如,清单17中的lambda函数是否可以访问vs ?
Using a lambda expression, we can make this more compact.
使用lambda表达式,我们可以把这段代码变得更紧凑一些。
In Listing 17, the return type of the lambda function is a Boolean.
在清单17中,lambda函数的返回类型是Boolean。
A quick glance at Listing 18 reveals how lambda functions are defined.
清单18 说明如何定义lambda函数。
Recently my article on lambda expressions got published on MSDN magazine.
最近我的关于Lambda表达式的文章被发表在MSDN杂志上。
The idea of lambda functions comes from mathematics work back in the 1930s.
lambda函数的理念源于 20 世纪 30年代的数学研究。
We discussed lambda functions and the advantages that closures have over them.
我们讨论了lambda函数及闭包与这些函数相比的优点。
This is similar to a lambda and similar constructs used in many other languages.
这和其它语言中的Lambda表达式或类似结构相似。
Finally, the last expression applies the lambda expression to the list containing (101 102).
最终,最后一个表达式对包含 (101 102)的列表应用这个lambda 表达式。
Keep in mind that the non-lambda version defines a function that is only used in one place.
请记住,非lambda版本定义的函数仅用于一个地方。
This syntax implies that all local variables will be passed by reference to the lambda function.
这种语法表示把所有局部变量通过引用传递给lambda函数。
Now RubyMine's editor knows and understands the new lambda syntax, local variables semantics, etc.
现在RubyMine的编辑器知道并且理解了新的lambda语法、局部变量语义等。
The remaining arguments to lambda are the expressions to be evaluated when the function is called.
lambda的其余参数是调用函数时的计算表达式。
Closures, and the related concept lambda expressions, are used throughout the LINQ query design.
闭包,和lambda表达式相关的一个概念,贯穿整个LINQ查询的设计。
Another restriction is that while lambda expressions are supported, statements in lambda are not.
还有一个限制——虽然lambda表达式将得到支持,不过对lambda表达式中声明语句的支持却无法包含在这个版本中。
Expression closures are a shorthand method of defining simple functions that mimics lambda notation.
表达式闭包是定义简单函数的一种便捷方式,用来模仿lambda符号。
Here's a simple example that USES a lambda - one that I will use throughout the rest of this article.
此处有一个关于lambda使用的简单示例—文中会多次使用该示例。
So lambda expressions bring with them another friend - expanded type inference through target typing.
所以,lambda表达式带来了另一个相关功能,即通过目标类型化(target typing)实现的扩展类型推断。
Giles starts with the Greek letters PI, lambda and the word meta to lead over to metaprogramming (5:25).
Giles首先以希腊字母pi、lambda和单词meta为元编程开头(5:25)。
With syntax-case, you actually are defining a transforming function, which is where the lambda comes in.
使用 syntax-case 系统,实际上是在定义一个转换函数,这就是 lambda 发挥作用的地方。
Function types might be the natural way to express the type of a lambda, but erased function types are not.
函数类型可能是表示lambda的类型的一种自然方式,但擦除的函数类型却不是。
The returned function is created using the lambda construct, which dynamically creates a new function object.
返回的函数使用lambda 结构创建,该结构动态创建新的函数对象。
LinQ also requires support for lambda expressions (closures), though this is not obvious from the previous query example.
LinQ还需要支持lambda表达式(闭包),尽管这一点在前面的查询例子中体现得不是很明显。
On to the answers. You do not need to provide the return type of a lambda function; it is deduced from the return statement.
不需要为lambda函数提供返回类型;根据返回语句推导出返回类型。
In general, a lambda function is a function that takes any number of arguments and returns the value of a single expression.
一般来说,lambda函数接收任何数目的参数,并返回单个表达式的值。
The concepts of closures and lambda functions are definitely not new ones; they both come from the functional programming world.
闭包函数和lambda函数绝对不是新出现的概念;它们均来自函数编程领域。
应用推荐