mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
4 lines
102 B
Kotlin
Vendored
4 lines
102 B
Kotlin
Vendored
// MOVE: left
|
|
fun foo(list: List<String>) {
|
|
list.foldRightIndexed(1, { p1, <caret>p2, p3 -> 1 })
|
|
} |