• This is your first opportunity to use function closures to enclose variables in function definitions, but it won't be the last, so get used to this, too.

    使用函数函数定义封闭变量第一方法不是惟一的方法,目前采用这种方法。

    youdao

  • Closures are powerful because they enable inner functions to retain access to an outer function's variables even after the outer function has returned.

    闭包功能非常强大,原因它们使内部函数外部函数返回时也仍然可以保留对此外部函数变量访问

    youdao

  • Closures are function literals - expressions that embody a deferred computation that can be treated as a value and invoked later.

    闭包函数字面量(unction literal)——是包含了一个计算表达式,该计算当成对待,在晚些时候再调用

    youdao

  • Before closures, implementation of the passed function was limited to the context of its function arguments.

    closures之前,对所传递函数实施限定函数参数上下文

    youdao

  • As we saw in the examples for lambda functions, one of the most obvious USES for closures is in the few PHP functions that accept a callback function as a parameter.

    在lambda函数示例所示,明显用法之一少数php函数接受回调函数作为参数

    youdao

  • It does include support for closures (which are essentially functions that can reference state in another function).

    支持闭包(实质上可以另一个函数引用状态的函数)。

    youdao

  • Using closures serves the same purpose in this situation as it would outside of a class: to contain a specific function to be bound within a small scope.

    这种情况下使用包与在外部使用闭包实现目的相同包含范围内绑定的特定函数

    youdao

  • Closures are functions that reference variables from the scope enclosing the function definition.

    闭包本质函数和其引用变量统一定义。

    youdao

  • The concept of lambda functions is the basis for closures and provides a much-improved way to create functions on the fly vs. the create_function function already in PHP.

    lambda函数概念闭包基础并且提供了一种PHP已有的create_function函数改进很多的动态创建函数的方法

    youdao

  • The above example is a good use case for closures: It USES one of the 18 standard PHP array functions that take a function as a parameter (such as array_walk, usort, and array_app).

    以上示例closures好的使用例子采用18个标准php阵列函数之一,它将函数作为参数(比如array_walk、usort、和array_app)。

    youdao

  • Function literals and the related concept of a closure are discussed in the section called "Function literals and Closures" in Chapter 8, Functional Programming in Scala.

    字面函数相关概念第8-scala函数编程》的“字面函数和包”章节讨论

    youdao

  • When more than one inner function exists, closures can have effects that are not as easy to anticipate.

    一个以上内部函数时,闭包产生效果可能没有预期所想像那样简单

    youdao

  • These closures are only interesting, however, in the case discussed above: when a nested function is exported outside the scope in which it is defined.

    然后这些上面讨论这些情形下显得有趣某个内嵌函数暴露在所被定义的作用域外时。

    youdao

  • These closures are only interesting, however, in the case discussed above: when a nested function is exported outside the scope in which it is defined.

    然后这些上面讨论这些情形下显得有趣某个内嵌函数暴露在所被定义的作用域外时。

    youdao

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

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

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