5 lines
143 B
Kotlin
Vendored
5 lines
143 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
|
|
fun bar(s: String) = s.length
|
|
|
|
val x = listOf("Jack", "Tom").mapTo(kotlin.collections.hashSetOf<Int>()) <caret>{ w -> bar(w) } |