Scala Shell Program
Jump to navigation
Jump to search
A Scala Shell Program is a Scala Program that is a Shell Program.
- AKA: Scala Script.
- Example(s):
#!/bin/sh exec scala "$0" "$@" !# object HelloWorld extends App { println("Hello, world!") } HelloWorld.main(args).
- …
- Counter-Example(s):
- See: Scala Daemon.
References
2002
#!/bin/sh exec scala "$0" "$@" !# object HelloWorld extends App { println("Hello, world!") } HelloWorld.main(args)