A collection of simple source code examples in Scala 3, featuring key aspects of the language.
-
Install 'sbt' from here: http://www.scala-sbt.org/download.html
-
Run a sbt shell with
cd [project dir] sbt
-
Then, compile with
compile
-
Then, run with
run
-
Then, execute tests with
test