Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 906 Bytes

README.md

File metadata and controls

43 lines (35 loc) · 906 Bytes

scala

I'm learning scala.

Resources:

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/

Books:

《Atomic Scala》 2nd Edition
《Programming in Scala》 2nd Edition

Text editor:

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.

Environment:

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.