Explorar el Código

Create scala.md

Brian Schlining hace 7 años
padre
commit
94c7cf2ea5
Se han modificado 1 ficheros con 24 adiciones y 0 borrados
  1. 24 0
      pages/common/scala.md

+ 24 - 0
pages/common/scala.md

@@ -0,0 +1,24 @@
+# Scala
+
+> Scala Application Launcher and interactive interpreter
+
+- Call a Scala interactive shell (REPL):
+
+`scala`
+
+- Execute a script in a given Scala file:
+
+`scala {{script.scala}}`
+
+- Execute a .jar program:
+
+`scala {{filename.jar}}`
+
+- Execute a single Scala command in the command line:
+
+`scala -e {{command}}`
+
+
+
+
+