至此,我已经讨论了列表和列表操作的一些有趣特性。
So far, I have discussed several interesting features of lists and list manipulation.
当然,使用Scheme的所有理由首先是处理列表操作。
Of course, the whole reason for using Scheme in the first place is to handle list manipulations.
Vim的大部分列表操作都是通过内置函数来提供的。
Most of Vim’s list operations are provided via built-in functions. The functions usually take a list and return some property of it
清单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.
使用这个通用的列表节点结构,您现在可以定义列表和不需要考虑存储在列表中的数据类型的列表操作。
With this generic list node structure, you can now define lists and list operations that work regardless of the type of data stored in them.
但如果您理解了列表的含义,您就知道这么做是有道理的,这是Clojure中强大的列表操作功能之一。
But it does make sense once you've seen list comprehensions, one of several powerful list-manipulation features in Clojure.
Ruby拥有这些使用闭包块的相同列表操作方法,我不清楚collect()、map()和inject()多久出现一次。
Ruby has these same list-manipulation methods that use closure blocks, and I was struck by how often collect(), map(), and inject() appear.
您可以在任何Vim会话中输入:help function - list来探索许多其他与列表相关的函数,然后向下滚动到“列表操作”。
You can explore the many other list-related functions by typing: help function-list in any Vim session, then scrolling down to "list manipulation".
当您在序列图的消息操作签名上双击时,会出现一个可用操作的列表。
When you double-click on a message operation signature on a sequence diagram, a list of available operations will display.
接下来您将指定图书列表服务操作,该操作描述图书列表服务的功能。
Next you specify the book list service operation, which describes what the book list service does.
从这个对话框中,你可以选择默认的操作系统和显示操作系统列表时间。
From this dialog, you can select the default operating system and the time to display list of operating systems.
它读入WSDL文档,确定可能的操作,然后显示一个包含操作列表的向导页面,必须从中选择一个操作(如图1所示)。
It does so by reading the WSDL to determine the available operations and presenting a wizard page that includes a list of these operations, from which one must be chosen (see Figure 1).
最后,可以使用+ +操作符合并列表,参见清单25。
Finally, you can merge lists using the + + operator, as shown in Listing 25.
提供公共操作,例如刷新集合列表、清除搜索结果和处理查询。
Providing common actions such as refreshing the collections list, clearing the search results, and processing queries.
因为字符串是列表,所以这些操作也适用于字符串(参见清单27)。
Because strings are lists, the same is true for them too (see Listing 27).
VM线程列表的操作需要被同步。
Manipulation of the VM thread list needs to be synchronized.
尽管子项列表和属性列表的操作方式相似,但一个可以包含重复项(对象的子项),而一个不能(元素对象的属性)。
While the list of children and the list of attributes operate similarly, one can contain duplicates (the children of an object) and one cannot (the attributes of an element object).
可能操作的列表是在服务器上计算的。
The list of possible actions is computed on the server with the Operations Feed.
列表与元组相似,但是元组只能在比较中使用,而列表允许执行的操作更多。
Lists and tuples are similar, but whereas a tuple can only be used in a comparison, lists allow a wider variety of manipulation operations to be performed.
文中的示例应用程序读取了特定文件的操作列表。
The sample application for this article is one that reads a list of actions to take on specific files.
如您所料,Haskell有许多在列表上操作的函数。
As you'd expect, Haskell has many functions that operate on lists.
请注意,在我们接下来对Numarray数组和Python列表进行操作时有很重要的区别。
There is a very important difference between Numarray arrays and Python lists to keep in mind for the rest of our operations.
在完成对字段列表的操作之后,您惟一需要做的就是添加FROM字符串,该字符串后面是数据库表的名称,您仍然可以在TListBox控件中找到该表。
When the list of fields is complete, you only need to add the FROM string, followed by the name of the database table, which can still be found in the TListBox control.
MultiselectList控件提供了多项选择,使数据列表的操作更加容易,就像邮件应用的功能那样。
MultiselectList control enables multiple selection for easily working with lists of data, similar to the Mail app's capability.
Android的缺陷是你必须通过一个活动的标签列表来操作。
What’s missing on Android is you have to go through a list of active tabs.
您可以使用- l命令行切换以得到给定范围层次上Rational框架所支持的操作列表。
You can use the -l command line switch to get the list of the actions that are supported by the Rational framework at a given scope level.
向 requirePost方法传递一个需要保护的控制器操作列表。
The requirePost method is passed a list of actions within the controller you want to protect.
和属性一样,类的操作以列表格式显示,每个操作在它自己线上。
Like the attributes, the operations of a class are displayed in a list format, with each operation on its own line. Operations are documented using the following notation.
从CIMOM返回的结果将包含一个操作系统列表,该列表中含有一个或多个操作系统实例。
The results coming back from the CIMOM will contain a list of one or more operating system instances.
比如,DITA分发包括一个任务类型,作为主题内容的一部分提供一个操作步骤列表。
For instance, the DITA distribution includes a task type that provides a list of steps as part of the topic content.
应用推荐