Also known as functor, function, functionoid, callable object, callable
programming construct allowing an object to be invoked or called as if it were an ordinary function, usually with the same syntax
函数对象(function object)是一个程序设计的对象允许被当作普通函数来调用。 函数对象与函数指针相比,有两个优点:第一是编译器可以内联执行函数对象的调用;第二是函数对象内部可以保持状态。 函数式程序设计语言还支持闭包,例如,first-class函数支持在其创建时用到的函数外定义的变量的值保持下来,成为一个函数闭包。
Abstract from DBpedia / Wikipedia · CC BY-SA
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).