/opt/scala/bin/scalac: line 50: /dev/null: Permission denied
Main.scala:15: error: value take is not a member of Stream[Int]
println(constant(5).take(3).toList)
^
one error found
spoj: The program compiled successfully, but Main.class was not found.
Class Main should contain method: def main(args: Array[String]).