Can you give an actual code example of where you n...
# kontributors
k
Can you give an actual code example of where you need this?
l
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
Also, it's different from the
run
with multiple arguments proposed above.