download and install Scala
http://www.scala-lang.org/download/
2016jun18 - Scala 2.11.8
start REPL
scala
try it
println(“scala rocks!”)
for(i<-1 to 11)println(i)
exit REPL
:q
:quit
ctrl-d
http://www.scala-lang.org/download/
2016jun18 - Scala 2.11.8
scala
println(“scala rocks!”)
for(i<-1 to 11)println(i)
:q
:quit
ctrl-d