高阶函数 英语是什么意思 - 英语翻译

higher order functions
higher order function

在 中文 中使用 高阶函数 的示例及其翻译为 英语

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
我们将在高阶函数主题中介绍这个话题。
We will cover this in the Higher Order Functions topic.
Python2.5中的functools模块包含了一些高阶函数
The functools module in Python 2.5 contains some higher-order functions.
我们称之为高阶函数
We call them higher order functions.
我们通过使用高阶函数减少了许多额外的代码。
We can reduce a lot of extra code by using this higher order function.
这是因为函数式编程合并了声明式方法与高阶函数
This is because functional programming combines declarative methods with higher order functions.
这样Haskell的高阶函数的概念就可以应用于设计开发软件了。
This allowed for Haskell's higher-level functions to be used in designing software.
在处理高阶函数时,我发现类型签名尤为有用;.
When dealing with higher order functions I find type signatures extremely useful;
高阶函数接受一个或多个函数作为输入,返回新的函数。
Higher order functions take one or more functions as arguments and return a new function..
高阶函数Python提供了一些具有函数式编程语言标准特征的高阶函数,如:Haskell。
Higher-Order Functions Python provides some higher-order functions that are standard features of functional programming languages such as Haskell.
高阶函数还常用于对如何操作不同数据类型进行抽象。
Higher order functions are also commonly used to abstract how to operate on different data types.
高阶函数也常常被用于对不同数据类型的操作进行抽象。
Higher order functions are also commonly used to abstract how to operate on different data types.
我们还可以使用filter高阶函数来接收偶函数并返回一个偶数列表:.
We can also use the filter higher order function to receive the even function, and return a list of even numbers:.
现在我们已经看到了高阶函数如何让我们操作这些通用方法来进一步创建抽象。
Now we have seen how higher-order functions permit us to manipulate these general methods to create further abstractions.
还记得高阶函数可以接收函数作为参数并使用它吗?
Do you remember that a higher order function can receive a function as an argument and use it?
因为很多这些都是高阶函数,所以建立哪个半球控制哪个函数显然更复杂。
Because a lot of these are higher order functions, establishing which hemisphere has control of which function are obviously more complicated.
因为基于lambda演算,ISWIM有高阶函数和词法辖域变量。
Being based on lambda calculus ISWIM has higher order functions and lexically scoped variables.
Lisp编程频繁使用高阶函数,以匿名函数作为其参数的作法十分有效。
Lisp programming style frequently uses higher-order functions for which it is useful to provide anonymous functions as arguments.
函子,也能将态射映射为态射,因此它也是高阶函数--fmap。
A functor also maps morphisms, so it is a higher order function- fmap.
比Java更简洁,比如支持隐藏类型变量,高阶函数(闭包),扩展功能,混合类型和一级代理等等。
Make it more concise thanJava by supporting variable type inference, higher-order functions(closures), extension functions, mixins and first-class delegation, etc;
因为动作是一个函数,我们要处理的是返回函数的函数,即高阶函数
Since action is a function,we will be dealing with functions returning functions; or higher order functions.
所以,所有Python中的函数都是对象,都可以用作高阶函数
So all functions in Python are first class andcan be used as a higher order function.
在本文中我们指出,函数式语言的两大特性,高阶函数与惰性求值,能够极大地促进模块化。
In this paper we show that twofeatures of functional languages in particular, higher-order functions and lazy evaluation, can contribute greatly to modularity.
但我们想要一种更具声明性的方法来解决这个问题,并使用过滤器高阶函数
But we want a more declarative way to solve this problem,and using the filter higher order function as well.
灵活的高阶函数和运算符重载让你能够以Haskell或者F那样的风格进行编码。
The flexibility of higher-order functions and operator overloading means you can write code that's similar in style to Haskell or F.
当我们谈论高阶函数时,通常是指一个函数同时具有:.
When we talk about higher-order functions, we mean a function that either:.
上面的例子清楚地体现出高阶函数是如何使你避免了大量重复且难以理解的代码。
In the above example,you can clearly see how higher-order functions spared you a lot of repetitive and difficult to understand code.
不过,为了便于展示,我们选择了使用简单的typealias以突出在Swift中使用高阶函数的方法。
For the sake of presentation, however,we have chosen to use a simple typealias to highlight how higher-order functions can be used in Swift.
Scala提供了一个轻量级的语法来定义匿名函数,它支持高阶函数,它允许函数嵌套,并支持currying。
Scala provides a lightweight syntax for defining anonymous functions,it supports higher-order functions, it allows functions to be nested, and supports currying.
高阶函数实际上非常直接,一旦你有了lambda算子,你就可以对任何事物加以抽象。
High order functions are pretty straight forward in the sense that once you have lambda, you can abstract away everything.
结果: 29, 时间: 0.023

单词翻译

顶级字典查询

中文 - 英语