fork download
  1. object Main extends App {
  2. "hello world".foreach( println ( _ match { case 'l' => 'f' } ) )
  3. }
Compilation error #stdin compilation error #stdout 0.39s 382080KB
stdin
Standard input is empty
compilation info
/opt/scala/bin/scalac: line 50: /dev/null: Permission denied
Main.scala:2: error: missing parameter type for expanded function
The argument types of an anonymous function must be fully known. (SLS 8.5)
Expected type was: ?
	"hello world".foreach( println ( _ match { case 'l' => 'f' } ) )
                                         ^
one error found
spoj: The program compiled successfully, but Main.class was not found.
      Class Main should contain method: def main(args: Array[String]).
stdout
Standard output is empty