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.