cedric
val list = listOf("abc", "defg", "hijkl") val map = mapOf(*(list.map { it -> Pair(it, it.length())}.toTypedArray()))