mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 08:31:35 +00:00
4 lines
123 B
Kotlin
Vendored
4 lines
123 B
Kotlin
Vendored
fun foo(block: (String, String, String) -> String): String = block("O", "fail", "K")
|
|
|
|
fun box() = foo { x, _, y -> x + y }
|