scala: consistent style, language correction

This commit is contained in:
Ha-Duong, NGUYEN 2015-08-03 15:47:02 +07:00
parent 1f6f7b7843
commit 496b11f8ce

View File

@ -16,15 +16,16 @@ Scala - the scalable language
Set yourself up: Set yourself up:
1) Download Scala - http://www.scala-lang.org/downloads 1) Download Scala - http://www.scala-lang.org/downloads
2) unzip/untar in your favourite location and put the bin subdir on the path 2) Unzip/untar to your favourite location and put the bin subdir in your `PATH` environment variable
3) Start a scala REPL by typing scala. You should see the prompt: 3) Start a Scala REPL by running `scala`. You should see the prompt:
scala> scala>
This is the so called REPL (Read-Eval-Print Loop). You may type any valid This is the so called REPL (Read-Eval-Print Loop). You may type any Scala
Scala expression into it, and the result will be printed. We will explain what expression, and the result will be printed. We will explain what Scala files
Scala files look like further into this tutorial, but for now, let's start look like further into this tutorial, but for now, let's start with some
with some basics. basics.
*/ */