Updated french version of scala

This commit is contained in:
chtiprog 2014-06-10 23:12:07 +02:00
parent 664389fb7c
commit f011c1af0e

View File

@ -148,12 +148,12 @@ List("Dom", "Bob", "Natalia") foreach println
val a = Array(1, 2, 3, 5, 8, 13)
a(0)
a(3)
a(21) // Jette une exception
a(21) // Lance une exception
val m = Map("fork" -> "tenedor", "spoon" -> "cuchara", "knife" -> "cuchillo")
m("fork")
m("spoon")
m("bottle") // Jette une exception
m("bottle") // Lance une exception
val safeM = m.withDefaultValue("no lo se")
safeM("bottle")