It should respond with the Scala version, 2.6.1-final.
它应该以Scala版本2.6.1 - final作为响应。
You compile and run such programs in one shot with the scala command.
你可以用scala命令一次性编译和运行这些程序。
The application code will be written in the Scala programming language.
应用程序代码将用Scala编程语言编写。
The easiest way to do this in the Scala Actors library is to use the !?
在ScalaActors库中,最容易的实现方法是使用 !
This is what the Scala compiler does, so there is nothing too tricky about this.
这是Scala编译器的工作,所以这方面没什么太复杂的事情。
A common image is the "scala naturae".
常见的图像是“自然尺度”。
The second line prints the value of book, which is “Programming Scala”.
第二行打印出了book的值 --ProgrammingScala。
Replace the standard Scala library with the Android library talked about above.
用前面谈到的Android库替代标准的Scala 库。
The name Scala is a contraction of the words scalable language.
Scala的名字来自词语:可伸缩的语言(scalable language)的缩写。
Consider the following example scala session.
考虑下面的scala对话例子。
The only thing different in our case is that we start with .scala files.
在本文,惟一不同的是我们从 .scala文件开始。
Let's examine the code in detail, so we can begin to learn Scala syntax.
为了学习scala语法,让我们来更详细地解释一下代码。
Then add a Scala nature to the project.
然后将一个scala特性(nature)添加到项目中。
This is a pretty simple example of the power of pattern matching in Scala.
这个简单的例子证明了Scala中模式匹配的强大功能。
Programming in Scala is tantalizingly familiar and different at the same time.
Scala中的编程如此地熟悉,同时又如此地不同。
The only tricky part is Scala syntax, which is markedly different.
惟一需要技巧的部分就是scala语法,这有着明显的差异。
Scala V2.7.5 was used to develop the code in this article.
本文使用ScalaV2.7.5进行开发。
Scala V2.7.5 was used to develop the code in this article.
本文使用ScalaV2.7.5进行开发。
应用推荐