请参见参考资料详细了解内核列表函数。
这两个函数和获取服务器名称列表函数的调用方式类似。
These two functions operate similarly to those which allow you to obtain the list of Server names.
两个非常有用的过程列表函数是filter和map 。
Two particularly useful procedural list functions are filter and map . The filter function takes a list and removes those elements that fail to meet some specified criterion.
对列表求值时将第一个元素看作列表函数,将其他元素看作函数参数。
Evaluating a list treats the first element as a list function and the other elements as function arguments.
最后采用二元列表函数的线性插值法,实现了大气修正的计算机处理。
Using the linear interpolation method of binary schedule function, the computer processing of air correction could be realized.
介绍了工程实验、勘测、设计中常见的列表函数之数值拟合方法、程序实现及工程应用。
The paper introduces the method of data fitting, programming and application of general listing function to engineering, surveying and design.
几乎在所有的情况(最显著的例外是string)下,一个应用到字典的列表函数的行为就像该函数收到了该字典的一个值列表。
In almost every case (the notable exception being string ), a list function applied to a dictionary behaves as if the function had been passed a list of the values of the dictionary.
我们的下一个基于列表的递归函数示例要稍微复杂一些。
Our next example of a recursive function on lists will be a little more complicated.
如您所见,这样就可以创建出一个全新的列表,这个列表是将函数应用到原始列表中每个元素的结果。
As you can see, this creates a brand new list that is the result of applying the function to every element of the original list.
清单20显示了修改后的函数,它利用了几个列表数据结构和前面描述的各种列表操作函数的优势。
Listing 20 shows a new version of the function that takes advantage of several list data structures and the various list-manipulation functions described earlier.
假定将任意参数列表传递给上面的函数。
Assume an arbitrary argument list is passed to the above function.
这个函数是1的无穷列表。
您不需要记住这些函数的列表;我的真正目的是说明这个问题是多么普遍。
You don't need to memorize the list; my real point is to show how common the problem is.
TBSCAN(7)是该连接的外表,它为函数提供产品列表。
TBSCAN (7) as the outer of the join provides the list of items to the function.
确保能够看到内置的php库函数的列表。
Ensure that you can see a list of built-in PHP library functions.
这是在网页上显示库存列表的函数。
This is the function that displays the returned inventory list on the Web page.
我所展示的用于过滤列表的函数方法在函数编程语言和库中非常普遍。
The functional approach I've shown to filtering lists is common across functional programming languages and libraries.
例如,函数通常从列表中挑选内容。
For example, frequently a function will want to pick apart the contents of a list.
测量实例1:函数列表视图。
清单9中的total函数将列表当作单个的参数。
The total function in Listing 9 takes a list as a single argument.
lists模块中提供了许多用于操作列表的函数。例如,可以使用sort函数对列表中的数据项进行排序。
A number of functions for manipulating lists are provided in the lists module for example, you can sort the items in a list using the sort function.
ContactListBroker接口(清单3)定义了应用程序处理联系人列表所需的函数。
The ContactListBroker interface (Listing 3) defines the function that our application needs for Contact list processing.
export() 行包含要导出的函数的列表。
The -export() contains the list of functions to be exported.
如您所料,Haskell有许多在列表上操作的函数。
As you'd expect, Haskell has many functions that operate on lists.
例如,Pyrex主页上使用一个计算素数列表的数学函数来宣扬这个特性。
For example, the Pyrex home page prominently features a numeric-intensive function for calculating a list of initial prime Numbers.
在处理列表时,fold函数提供了累积任何二进制计算结果的好方法。
When you're dealing with lists, the fold functions provide a good way to roll up results of any binary computation.
只需对列表调用car函数就可以看到如何获得第一个元素。
You can see how you'd get the first element by just calling the car function on the list.
清单7.infofunctions命令得到的函数列表。
当用户选取列表元素后执行 onSelect函数。
The onSelect function is executed when the user selects a list element.
您给“compctl ”一个可返回匹配列表的函数名,匹配列表在名为“reply ”的变量里,在必要时也可调用该函数,并将其输出作为匹配列表。
You can give "compctl" the name of a function which returns a list of matches in a variable called "reply" and it will call that function when required, using its output as the list of matches.
应用推荐