大学英语词汇短语释义解析及例句 anonymous function

大学英语词汇短语释义解析及例句 anonymous function


释义:

anonymous function 匿名函数; 匿名函式; 佚名函数; 匿名方法

例句:



Anonymous function, what's your function?

匿名函数,您的函数是什么?



This creates an anonymous function and returns it.

这会创建一个匿名函数并返回此函数。



Each chunk is executed as the body of an anonymous function.

每个块都是作为一个匿名函数体来执行的。



Visual Basic's Iterators, look more like an anonymous function.

VisualBasic的迭代器,看上去更像一个匿名函数。



You then pass in an anonymous function (closure) to the onEvent property.

然后将一个匿名函数(closure)传入到onevent属性。



This particular anonymous function is pretty simple: it wraps broker.

上面的这个匿名函数很简单,它仅仅包装了一下broker。



In this case, the anonymous function adds 1 to every element of a list.

在本例中,匿名函数为列表的每个元素加1。



This version of to_function does one thing - it returns an anonymous function.

这个to_function实现做了一件事——返回一个匿名函数。



By replacing formal function definitions with anonymous functions, you simplify code.

通过用匿名函数来替换正式函数定义,您可简化代码。



The value of afterFinish is an anonymous function that is invoked when the effect is done.

afterFinish的值是一个匿名函数,在效果完成时被调用。



The anonymous function takes two market data as arguments: a ticker symbol and a price.

匿名函数的参数是两项市场数据:股票代码和价格。



Notice that the map you pass to the extend function maps from keywords to anonymous functions.

请注意将您传递到extend函数的映射从关键字映射到匿名函数。



This expression is actually the body of an "anonymous function", called a function literal in Scala.

这个表达式实际上是一个“匿名函数”的函数体,在Scala中称为字面函数。



Curious readers will be wondering what makes a functor different from an anonymous function or closure.

好奇的读者会想是什么使仿函数不同于匿名函数或闭包呢?



In this example, you use simple HTML tags to pull in icon images and jQuery to attach an anonymous function to that image.

在本例中,使用简单的HTML标记来拉入图标图像,使用jQuery将一个匿名的函数追加到该图像。



It builds an Erlang expression in abstract form and returns an anonymous function which can dynamically evaluate it later.

它构造一种抽象形式的Erlang表达式,并返回一个匿名函数,让它以后再动态地求解。



An anonymous function is defined within the context of another function, usually by assigning it to a delegate variable.

匿名函数通常通过分配到一个代理变量,来在其他函数的上下文中定义。



If defining even a single property is too much, you can define and invoke an anonymous function in a single expression.

如果还觉得定义一个属性也很麻烦,你可以在一个表达式中,直接定义并执行一个匿名函数。



In this case, when any client sends data to server, this anonymous function is called and the data is passed into the function.

在这种情况下,当任意客户端发送数据给服务器时,就会调用这个匿名函数并将数据传入函数中。



Unlike XAML, you have the option of either passing in a function or defining the converter inline as an anonymous function.

和XAML不同的是,既可以把一个函数作为参数传入,也可以通过一个内联的匿名函数来定义转换器。

  • Issue by:www.viv-media.com
  • Web:http://
  • About Viv-Media|Free Add URL|Submit Press Release|Submit How To|SiteMap|Advertise with Us|Help|Contact Viv-Media |China Viv-Media
  • Copyright© 2010-2020 viv-media.com Corporation.
    Use of this web constitutes acceptance of Terms of Service and Privacy Policy. All rights reserved.  Poetry Online :Ancient Chinese Poetry