/opt/scala/bin/scalac: line 50: /dev/null: Permission denied
Main.scala:9: warning: abstract type T in type pattern List[T] is unchecked since it is eliminated by erasure
case t: List[T] => listcontains(word)(t)
^
Main.scala:12: error: polymorphic expression cannot be instantiated to expected type;
found : [T](l: List[T])Boolean
required: ((List[String], String, Int, String, List[String], String, String, String, String)) => Boolean
println(l.filter(listcontains("name1")).toString())
^
one warning found
one error found
spoj: The program compiled successfully, but Main.class was not found.
Class Main should contain method: def main(args: Array[String]).