• In this case, we passed in the following function literal.

    在这个例子里,我们传入这样的一个字面函数。

    youdao

  • We use a _ placeholder shortcut again in another function literal that we pass to foreach.

    我们在传给foreach 的这个字面函数中再一次使用了一个 _占位符。

    youdao

  • This expression is actually the body of an "anonymous function", called a function literal in Scala.

    这个表达式实际上是一个“匿名函数”的函数体,在Scala中称为字面函数。

    youdao

  • This function literal does a pattern match on the message instance to decide how to handle the message.

    这个字面函数给消息做了一个模式匹配来决定它被如何处理。

    youdao

  • The method body calls the map method on the strings array, which takes a function literal as an argument.

    函数的主体调用了strings数组的map方法,它接受一个字面函数(Function Literal)作为参数。

    youdao

  • If a function literal is anonymous, there should be one space between the word function and the left parenthesis.

    如果函数是匿名函数,则在function和左括号之间应有一个空格。

    youdao

  • Note that an assignment statement which is assigning a function literal or object literal is still an assignment statement and must end with a semicolon.

    注意一个函数赋值或对象赋值语句也是赋值语句,应该以分号结尾。

    youdao

  • Note that an assignment statement which is assigning a function literal or object literal is still an assignment statement and must end with a semicolon.

    注意一个函数赋值或对象赋值语句也是赋值语句,应该以分号结尾。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定