CoCalc Shared Filessupport / 2016-11-22-scala.sagewsOpen in CoCalc with one click!
Author: William A. Stein
License: GNU General Public License v3.0
Description: Examples for support purposes.

Using the Jupyter Scala kernel in SageMathCloud worksheets.

scala = jupyter("scala211")
%scala List(1,2,3)
res0: List[Int] = List(1, 2, 3)
%scala object HelloWorld { def main(args: Array[String]) { println("Hello, world!") } }
defined object HelloWorld
%scala println("Hello\tWorld\n\n" );
Hello World