go top

First-class function

  • 头等函数(头等函数是指函数可以作为参数、返回值、赋值给变量或存储在数据结构中。支持匿名函数的语言将函数视为普通变量。概念由克里斯托弗·斯特雷奇在1960年代中期提出)

网络释义英英释义

短语

Higher-order function and First-class object 高阶函数与第一型

First-class function

  • abstract: In computer science, a programming language is said to have first-class functions if it treats functions as first-class citizens. Specifically, this means the language supports passing functions as arguments to other functions, returning them as the values from other functions, and assigning them to variables or storing them in data structures.

以上来源于: WordNet

双语例句

  • The xajax PHP object performs the function of an intermediary between the client application and the server. First, include the xajax class library

    xajax PHP 对象客户机应用程序服务器之间中介作用

    youdao

  • The first class-ness of function objects is clearly demonstrated here. Listing 10 shows what happens when I try calling a garbage method on function blah

    在这里展示了个无类函数对象

    youdao

  • Package, which contains two classes: SearchManager and SearchResultBean. The first class implements the search function, and the second class describes the structure of the search result.

    搜索子系统放在sample . dw . paper . lucene . search当中,包含了两个SearchManagerSearchResultBean第一用来实现搜索功能第二个类用来描述搜索结果结构

    youdao

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

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

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