I'm learning scala.
http://zh.scala-tour.com/
http://docs.scala-lang.org/cheatsheets/
http://www.scala-lang.org/api/current/index.html
http://docs.scala-lang.org/tutorials/tour/tour-of-scala.html
http://hongjiang.info/scala/
《Atomic Scala》 2nd Edition
《Programming in Scala》 2nd Edition
sublime text 3
Click Tools->Build System->New Build System.
Add these line and save as Scala.sublime-build
.
{
"cmd": ["[PATH for scala]", "[Parameters for scala]", "$file"],
"working_dir": "${project_path:${folder}}",
"selector": "source.scala"
}
Then you can run the scala scripts through ctrl-b
.
Add these to $CLASSPATH
.
lib
lib/commons-math3-3.6.1.jar
When scala cannot find the packages you imported, use scala -nc your_source_file_
or run fsc -shutdown
in shell.