It USES Scala's pattern matching.
它使用Scala的模式匹配。
Using pattern matching to build XML.
利用模式匹配构建xml。
The chapter on pattern matching is new.
模式匹配这一章是新添的。
Regular expressions for pattern matching.
用于模式匹配的正则表达式。
Listing 11 shows some basic usage of the pattern matching expansions.
清单11给出了模式匹配扩展的一些基本用法。
The main part of pattern matching is coming up with the expression to use.
模式匹配的主要部分是关于要使用什么样的表达式。
This is a pretty simple example of the power of pattern matching in Scala.
这个简单的例子证明了Scala中模式匹配的强大功能。
There are a number of algorithms used for pattern matching by rules engines.
规则引擎可以使用多种算法执行模式匹配。
Assigning values to variables is actually a special type of pattern matching.
为变量赋值实际上就是一种特殊的模式匹配。
This structure is then fed into the Concept Modeling engine for pattern matching.
然后,将这个结构送入概念建模引擎进行模式匹配。
If it's not, it won't — one of the tricky things about performing pattern matching.
如果格式不好,则不会正确匹配——这是执行模式匹配任务的一件棘手之事。
Our three languages also share support for regular expressions and pattern matching.
这三种语言都支持正则表达式和模式匹配。
The XML data should be structured to make that pattern matching as easy as possible.
应该构造XML数据,使模式匹配尽可能简单。
Our brains are just pattern matching machines, so we tend to notice patterns like that.
我们大脑是模式匹配机器,因此我们更容易注意到这样的模式。
Rules to pattern matching in both these files will control what gets denied or allowed.
这两个文件中的模式匹配规则控制拒绝或允许什么。
The built-in operators make text searching, replacing, and pattern matching effortless.
内置的操作符使得文本搜索、替换和模式匹配轻而易举。
Routes make use of regular expressions for pattern matching, and are expressed using XML.
路由在模式匹配时使用正则表达式,并且使用XML表示。
The current XSL standard USES the XPath technology to perform all of its pattern matching.
当前的XSL标准使用XPath技术来执行它所有的模式匹配。
The key to success with a socket wrench is pattern matching: The socket must match the nut.
成功使用套筒扳手的关键在于模式匹配:套筒扳手必须与螺母相匹配。
The key is pattern matching, as in Figure 1. Instead of coding commands, you code patterns.
其中的关键就是模式匹配,如图1 所示。您不需要编写命令,需要编写的是模式。
Anonymous functions, regular expression support and pattern matching are only the beginning.
其优点远远不止匿名函数、正则表达式支持、模式匹配这几样。
The pattern matching chapter is sufficient for learning about this fascinating side of Perl.
模式匹配这章足以让您掌握Perl的这一令人心醉的特性。
In that example, pattern matching was used to extract both the head and the tail of the list.
在这个示例中,使用模式匹配提取列表的开头和结尾部分。
The way that Rich elected to de-couple destructuring bind from pattern matching was brilliant.
Rich选择从模式匹配中解耦destructuringbind的方法非常聪明。
Finally, when designing pattern matching statements, be wary of relying on a default case clause.
最后,当设计模式匹配指令时,对于默认case的依赖要小心。
You can use the pattern matching in Erlang so that a path on one side triggers a specific response.
您可以使用Erlang中的模式匹配,因此一端的路径可触发特定响应。
These techniques are based on pattern matching and event definitions and can be spatial or temporal.
这些技术都是基于模式匹配和事件定义的,可以是空间上的或时间上的。
With case classes, pattern matching begins to take on whole new levels of power, as shown in Listing 7.
有了case类,模式匹配具备了更强大的功能,如清单7所示。
InfoQ: a very neat and often used feature of Scala is pattern matching, which has no equivalent in Ruby.
InfoQ:Scala的一个非常灵巧,又被经常使用的一个特性就是模式匹配,而这在Ruby中却没有对应之物。
应用推荐