Skip to content

Instantly share code, notes, and snippets.

@kmizu
Created July 31, 2011 04:54
Show Gist options
  • Save kmizu/1116416 to your computer and use it in GitHub Desktop.
Save kmizu/1116416 to your computer and use it in GitHub Desktop.
This program compiles and is executable as scala foo.clas
package foo
object clas {
def main(args: Array[String]) {
println("Hello")
}
}
@kmizu
Copy link
Author

kmizu commented Jul 31, 2011

scalac clas.scala
scala foo.clas
Hello

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment