fb87f2de76 ^
1 2 3 4 5 6 7 8 9 10
object Test { def main(args: Array[String]) { foo(Nil, Nil) } def foo(h: Any, t: List[Any]) = h match { case 5 :: _ => () case List(from) => List(from, from, from) } }