https://kotlinlang.org logo
#kontributors
Title
# kontributors
k

karelpeeters

10/05/2017, 6:08 PM
Can you give an actual code example of where you need this?
l

leonardootto

10/05/2017, 7:37 PM
Maybe this kind of thing. mapOf(1 to “a”, 2 to “b”, 3 to “c”).map { run(it, ::join, ::uppercase) { println(it) } } But this is not a real use case, it’s more a method chaining in a different way.
d

dmitry.petrov

10/06/2017, 4:34 PM
Also, it's different from the
run
with multiple arguments proposed above.
2 Views