古典吧>英语词典>currying翻译和用法

currying

英 [ˈkʌriɪŋ]

美 [ˈkɜːriɪŋ]

v.  以(肉或蔬菜)烹制咖喱烧菜
curry的现在分词

机械

柯林斯词典

  • N-VAR 咖喱菜(印度主要菜肴,常与米饭一起食用)
    Curryis a dish composed of meat and vegetables, or just vegetables, in a sauce containing hot spices. It is usually eaten with rice and is one of the main dishes of India.
    1. ...vegetable curry...
      咖喱蔬菜
    2. I went for a curry last night.
      昨晚我去吃了咖喱菜。
  • PHRASE 讨好;奉承;拍…的马屁
    If one person tries tocurry favour withanother, they do things in order to try to gain their support or co-operation.
    1. Politicians are eager to promote their 'happy family' image to curry favour with voters.
      政客们极力宣传他们的“幸福家庭”形象以讨好选民。

双语例句

  • 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指的是把多个参数放进一个接受许多参数的函数,形成一个新的函数接受余下的参数,并返回结果。
  • I pass an anonymous function to the filter() method, using currying to fix the first parameter of the dividesBy() method to the value used to create the code block.
    我将一个匿名函数传递给filter()方法,使用局部套用将dividesBy()方法的第一个参数的值设置为用来创建代码块的值。
  • Scala provides a lightweight syntax for defining anonymous functions, it supports higher-order functions, it allows functions to be nested, and supports currying.
    Scala为定义匿名函数提供了一种轻量级的语法,它支持高阶(higher-order)函数、允许函数嵌套、支持局部套用(currying)。
  • His fellow workers despised him for currying favor with the boss.
    他的工友们为了讨好老板嘲笑他。
  • In the period of currying out quality education, prodding lifetime studying and building socialistic harmonious society, the national dancing education brings the unique functions to the aspect of accelerating the aesthetic education, patriotic education and socialistic honor and disgrace concept education and so on.
    摘要在实施素质教育、促进终身学习以及构建社会主义和谐社会的今天,民族民间舞蹈教育在加强审美教育、爱国主义教育和社会主义荣辱观教育方面发挥着其独有的作用。
  • Partial application is a broader technique that resembles currying but does not restrict the resulting function to a single argument.
    部分应用是一种更广泛的技巧,它与局部套用类似,但是生成的函数并不限于单函数。
  • 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.
    这两者之间的差别非常微小,最终结果也是相同的,但是如果您在一名函数编程人员的面前混用局部套用和部分应用,那么他一定会纠正您的说法。
  • There was once a Groom who spent hours every day brushing, currying and rubbing down the Horse's coat.
    从前有一个马夫,他每天都花好几个小时的时间给马擦洗、梳理皮毛。
  • 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作为代码块的构建块并返回线段的长度,可以执行部分应用或局部套用。
  • Whew! By currying the first two closure parameters you can effectively deliver a new closure that is the combination of the effects of these two.
    哦,只对前两个闭包参数进行了curry处理,就有效地形成了一个组合了这两个闭包的效果的新闭包。