Main.scala:2: error: missing arguments for method apply in object List;
follow this method with `_' if you want to treat it as a partially applied function
var x = List[() => Unit]
^
one error found
spoj: The program compiled successfully, but Main.class was not found.
Class Main should contain method: def main(args: Array[String]).