单词 | higher-order functions | ||||||||||||
释义 | higher-order functions
更多释义 收起释义 例句释义: 高阶函数,高级函数,高端函数 1. HaXml brings with it a set of powerful higher order functions for operating on these "datafied" XML documents. 在对这些“数据化”的XML文档进行操作时,HaXml采用了一套强大的高阶函数。 www-128.ibm.com 2. In Lisp, higher-order functions are trivial because functions are no different from any other kind of list. 在Lisp中,由于函数和列表没有任何区别,高阶函数也就非常简单。 www.ibm.com 3. Another example of the usage of closures and higher order functions in an object-oriented world is the Visitor pattern. 另一个在面向对象世界中使用闭包和高阶函数的例子是Visitor模式。 www-128.ibm.com 4. If you've ever used closures or higher-order functions, you might have a better understanding of the code in Listing 10. 如果使用过高阶函数或闭包,那么可能更容易理解清单10中的代码。 www.ibm.com 5. By developing utility functions and methods as higher-order functions, you make your applications more robust. 通过将使用函数和方法作为高阶函数进行开发,可使应用程序更加健壮。 www.ibm.com 6. Higher-order functions. A high-order function is one that either takes functions as arguments or returns a function. 一个高阶函数可以将函数作为参数,也可以返回一个函数。 www.ibm.com 7. I'll also circle back to some interesting comparisons between closures and higher-order functions in a later installment. 后续内容还会对闭包与高阶函数做一些有趣的对比。 www.ibm.com 8. This is an extension of the "higher order functions" concept that functional programmers toss around. 这是函数语言使用的“高阶函数”概念的扩展。 www.ibm.com 9. Higher-order functions can either take other functions as arguments or return them as results. 高阶函数可以将其他函数作为参数或者返回结果。 www.ibm.com 10. The problems amenable to solution by using higher-order functions aren't unique to functional languages. 适合采用高阶函数来解决的问题不仅限于函数式语言中。 www.ibm.com 1. So based on the dynamic typing and higher-order functions, you can introduce arbitrary behavior to your classes at any time. 所以,基于动态类型和高阶函数,您可以在任何时候向类中引入任意的行为。 www.ibm.com 2. Higher-order functions do all of these things. 高阶函数能实现所有这些要求。 www.ibm.com 3. Higher-order functions offer a higher level of abstraction than object-oriented concepts. 高阶函数提供比面向对象概念更高层次的抽象。 www.ibm.com 4. But the strengths of JavaScript don't begin and end with higher-order functions. 但JavaScript的实力并不仅限于高阶函数。 www.ibm.com 5. Perhaps the most common use of higher-order functions is the lambda expression, which is Lisp's version of a closure. 高阶函数的最常见用法或许是lambda表达式,这是闭包的Lisp版。 www.ibm.com 6. See Resources for more about higher order functions. 关于高阶函数的更多内容,请参见参考资料。 www.ibm.com 7. I ve covered a lot of ground in writing modular code using functors and higher order functions. 我讨论了用仿函数和高阶函数编写模块的大量基础知识。 www-128.ibm.com 8. First, having higher-order functions means that you can make assumptions about how language parts will fit together. 首先,具有高阶函数意味着您可以假设如何将语言部分组合成一个整体。 www.ibm.com 9. Arguments passed to higher-order functions, and then passed on as arguments to a closure's use keyword also retain their values 参数传递给高阶函数,然后作为参数传递给closure的use关键字,仍保持其值 www.ibm.com |
||||||||||||
随便看 |
|
英汉双解词典包含2704715条英汉词条,基本涵盖了全部常用单词的翻译及用法,是英语学习的有利工具。