donné:
val m = Map[String, Int]("a" -> 1, "b" -> 2, "c" -> 3)
m.foreach((key: String, value: Int) => println(">>> key=" + key + ", value=" + value))
pourquoi le compilateur se plaint-il
error: type mismatch
found : (String, Int) => Unit
required: (String, Int) => ?