What is the translation of " ADD函数 " in English?

add function
add函数
add函

Examples of using Add函数 in Chinese and their translations into English

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
如果add函数访问到z,那么它就不是纯函数了。
If the add function did access z, it would no longer be pure.
注意,add函数没有碰z变量。
Notice that the add function does NOT touch the z variable.
Add函数同样适用于整数列表和字符串列表。
Add function works equally well for both lists of integers and lists of strings.
注意:add函数没有碰变量z。
Notice that the add function does NOT touch the z variable.
如果add函数访问了z,它将不再纯粹。
If the add function did access z, it would no longer be pure.
所以add函数看上去和之前一样:.
So the add function looks the same:.
注意:add函数没有触发变量z。
Notice that the add function does NOT touch the z variable.
注意,add函数不涉及z变量。
Notice that the add function does NOT touch the z variable.
完成后,我们将使用Add函数返回的promise在console.log中显示一条消息。
Once that is done,we will use the promise returned by the Add function to display a message in the console. log.
因为add函数只接收到了两个参数中的一个,所以错误的计算结果传入mult5。
Because the add function is only getting 1 of its 2 parameters here then its incorrect results are passed to mult5.
如果add函数确实访问了变量z,那么它就不再是纯函数了。
If the add function did access z, it would no longer be pure.
如果add函数使用了一些外部值,那么你永远无法预测它的行为。
If the add function used some outside value, then you couldnever predict its behavior.
在上面的代码,我们分配add函数,三个不同的变量,me,you,和someoneElse。
In the code above we assign the add function to three different variables, me, you, and someoneElse.
因为在这里add函数只接受了两个参数中的一个,然后错误结果再被传入mult5函数,结果也是错的。
Because the add function is only getting 1 of its 2 parameters here then its incorrect results are passed to mult5.
计数器受匿名函数范围的保护,只能使用add函数进行更改。
The counter is protected by the scope of the anonymous function,and can only be changed using the add function.
现在,你可能想知道在Elm中这个add函数要如何重写。
At this point,you may be wondering how to rewrite the add function in Elm.
计数器被这个匿名函数的作用域保护,并且只能使用add函数来修改。
The counter is protected by the scope of the anonymous function,and can only be changed using the add function.
如果我们像,我们可以定义如下签名的add函数:.
If we wanted to, we could write an add function with the following signature:.
现在我们可以将一个add函数传递给操作方法:.
Now we can add functionality to the Add method:.
看到这里,你可能会想知道在Elm里怎么来改写这个add函数
At this point,you may be wondering how to rewrite the add function in Elm.
这个版本的add函数现在就只接收一个参数,之后再接收另外一个参数。
This version of add is a function that takes one parameter now and then another one later.
现在我们就可以使用这个版本的add函数来构建一个mult5AfterAdd10函数的可运行版本:.
Now we can use this version of add to build a working version of mult5AfterAdd10:.
函数add最初的实现看起来就像这样:.
The implementation of add function originally looks like:.
如果函数add确实访问了_z_,该函数将不再是纯函数了。
If the add function did access z, it would no longer be pure.
这样add成为了函数
This way add becomes a function.
变量add指定了函数自我调用的返回字值。
The variable add is assigned the return value of a self-invoking function.
List_add函数的实现更加简单:.
The is_letter() function is even simpler:.
(int,int)=gt;int的这种标记方法也被称作为add函数的类型签名。
The notation(int, int)=gt; int is also called the(type)signature of add.
然后我们部分地调用定义好的二元函数add函数来创建一元函数plus5:.
Then we partially call the binary function add to create the unary function plus5:.
Results: 29, Time: 0.0173

Word-for-word translation

Top dictionary queries

Chinese - English