You are currying favor with me.
你在讨好我。
Where Changsha has currying favor cat cigarette's?
长沙哪里有卖好猫烟的?
His fellow workers despised him for currying favor with the boss.
他的工友们为了讨好老板嘲笑他。
Is any normalization of a function to a curried form considered currying?
任何正常化的功能一个咖喱的形式考虑的情况?
He often delivers gifts to his supervisors, which is seen by his colleagues as a way of currying favor.
他经常给上级领导送礼,他的同事视此为拍领导马屁。
Of course, Scala supports currying, as illustrated by the snippet from the Scala documentation shown in Listing 8
当然,Scala 支持局部套用,如清单 8 展示的 Scala 文档的部分片段所示
I felt like a kid in a candy store reading about junctions, currying, and all the other exciting features that Perl 6 promises.
在阅读到junctions、currying以及Perl 6将要具备的所有其他特性时,我感觉就像是小孩子走进了糖果店。
Currying is a powerful but foreign paradigm for many developers. Don't abuse it as its appropriate use cases are fairly unusual.
柯里化的功能是很强大,但是对于很多开发者来说它是陌生的。不要滥用它,但适当地使用还是非常有用的。
Ever since drugmakers first started selling prescription medicines, they've been currying favor with doctors who write the orders.
从制药商第一次开始出售处方药时,他们就给开药的医生拍马屁了。
Partial application is a broader technique that resembles currying but does not restrict the resulting function to a single argument.
部分应用是一种更广泛的技巧,它与局部套用类似,但是生成的函数并不限于单函数。
This is required for currying methods, which we'll discuss in the section called "currying" in Chapter 8, Functional Programming in Scala.
这是级联方法(currying methods)所需要的。我们会在《第8章- scala函数式编程》中的“级联(currying)章节讨论它。”
To use volume as a building block for a code block that returns the length of a line segment, I can perform either partial application or currying.
要使用volume作为代码块的构建块并返回线段的长度,可以执行部分应用或局部套用。
NET languages, is the only one that captures these functional concepts (partial application and currying) as first-class citizens within the language.
网路语言,是作为一流公民语言中捕获这些功能的概念(部分应用程序和讨好)的唯一。
While that is true in some ways, you can and should go very far with the basic building blocks of FP; lambdas, HOFs, currying, partial application, and so on.
尽管从某些方面来说这是对的,但是用FP基础构建块,你能走得更远;如lambdas、HOFs、currying、partial application等等。
In Listing 7, we've taken things one step further by currying the map closure, resulting in a block that will multiply all the elements of a given list by 12.
在清单7中,我们把事情又向前进行了一步,对map闭包进行了curry处理,形成一个块,会将指定列表中的所有元素都乘以12。
If you're using a functional language (such as Python), you can follow up on these compositional tricks by experimenting with currying and other such techniques.
如果您使用的是函数型语言(如python),可以按照这些技巧进行调味练习并试验其他的技术。
Currying refers to taking multiple arguments into a function that takes many arguments, resulting in a new function that takes the remaining arguments and returns a result.
currying指的是把多个参数放进一个接受许多参数的函数,形成一个新的函数接受余下的参数,并返回结果。
The purpose of ancestor worship was not to remember the way people had been in life. Instead, it was about currying favor with the departed, who'd been given distinct responsibilities.
敬奉祖先的目的并非纪念他们生前的事迹,而是对逝者的讨好,赋予他们不寻常的责任。
The difference is subtle, and the end result is the same, but if you use the terms currying and partial application interchangeably within earshot of a functional programmer, count on being corrected.
这两者之间的差别非常微小,最终结果也是相同的,但是如果您在一名函数编程人员的面前混用局部套用和部分应用,那么他一定会纠正您的说法。
-
curry powder
咖哩粉
-
curry favor
巴结,拍马屁
-
curry favor with
巴结;拍马屁
-
curry chicken
咖喱鸡
-
curry sauce
咖喱汁,咖喱酱;咖喱沙司
-
curry rice
咖喱饭