• Using a lambda expression, we can make this more compact.

    使用lambda表达式我们可以段代码变得紧凑一些。

    youdao

  • The first line defines a lambda expression and binds it to the symbol total.

    第一行代码定义了一个lambda表达式将其和total符号绑定一起。

    youdao

  • Finally, the last expression applies the lambda expression to the list containing (101 102).

    最终最后一个表达式包含 (101 102)列表应用这个lambda 表达式。

    youdao

  • He has a great diagram there showing the expression tree representation of a few lambda expressions.

    在那篇文章里用非常好的图表表现说明一些Lambda表达式树表示形式

    youdao

  • Perhaps the most common use of higher-order functions is the lambda expression, which is Lisp's version of a closure.

    高阶函数常见用法或许lambda表达式闭包lisp

    youdao

  • He has a great example of how you can manipulate the expression trees and build custom conditions in your lambda expressions.

    举出了大量例子告诉如何巧妙地处理那些表达式编译的带自定义条件lambda表达式。

    youdao

  • In his article on expression trees Ian Griffiths gives a great introduction to lambda expressions and their relation to expression trees.

    IanGriffiths关于表达式文章中给出了一个非常不错Lambda表达式介绍以及Lambda表达式树的关系。

    youdao

  • Moq is a mocking library for .NET designed and developed to utilize .NET 3.5 features, e.g., Linq expression trees and lambda expressions.

    Moq利用诸如Linq表达式Lambda表达式等.NET 3.5的特性.NET设计开发Mocking

    youdao

  • In this particular example, a method reference is a clearer expression of what we mean than a lambda expression, but the idea is the same.

    这个特殊例子中方法引用lambda表达式清晰地表达我们意图它们概念一样的。

    youdao

  • For example, the following code declares a Comparator that compares strings by length and USES a lambda expression to define the Comparator:.

    例如下列代码声明了Comparator,该表达式字符串长度进行比较使用一个lambda表达式定义Comparator:。

    youdao

  • An expression tree is a data representation of the lambda expression in a form that is easy for you to read and reason about the lambda expression in.

    表达式lambda表达式一种数据表示形式,它能使方便地读取推断lambda表达式。

    youdao

  • Item 2 is interesting, because it means that you can write a lambda expression into an expression tree, reason about it, etc, and then turn it into a callable delegate.

    其中第二条很有趣的,因为意味着lambda表达式复制一个表达式推断它,它转换可调用委托

    youdao

  • Here, the first lambda expression is the mapper (mapping each element to its size), and the second lambda expression is the reducer, which takes two sizes and adds them.

    这里第一个lambda表达是一个mapper(映射器)(每个元素大小映射),第二lambda表达是是reducer(化简器),取得两个大小数值相加它们

    youdao

  • Function types are indeed the natural way to represent the type of a lambda expression, but unfortunately they interact badly with an existing language "feature" : erasure.

    函数类型确实表现lambda表达式类型一种自然方法遗憾的是它们无法现有语言功能“擦除(erasure)”好地进行交换。

    youdao

  • Because the lambda expression has the right argument and return types, the compiler verifies that it can be converted into a Comparator and generates the appropriate code for doing so.

    因为lambda表达式拥有正确参数返回类型编译器证实可以把这些类型转换Comparator生成完成操作的相应代码

    youdao

  • If capture of mutable locals were allowed, the platform would need to extend the local variable's lifetime for as long as the dynamic lifetime of any lambda expression that captures it.

    如果捕获可变局部变量允许行为的话,平台需要扩展局部变量生存期,使之与任何捕获该变量的lambda表达式动态生存期一样

    youdao

  • A lambda function is a function definition that you use to pass higher-order functions into Lisp functions. For example, the lambda expression in Listing 10 computes the sum of two integers.

    lambda函数用于高阶函数传入lisp函数函数定义

    youdao

  • Expression closures are a shorthand method of defining simple functions that mimics lambda notation.

    表达式闭包定义简单函数一种便捷方式用来模仿lambda符号

    youdao

  • In general, a lambda function is a function that takes any number of arguments and returns the value of a single expression.

    一般来说,lambda函数接收任何数目参数返回单个表达式

    youdao

  • In general, a lambda function is a function that takes any number of arguments and returns the value of a single expression.

    一般来说,lambda函数接收任何数目参数返回单个表达式

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定