<Does Kotlin support partial application?> Since K...
# suitescript
u
Does Kotlin support partial application? Since Kotlin supports many concepts from functional programming, I was wondering if there is a way to do partial application of a function in Kotlin as well? One such example of where partial application can be useful is: // In one class fun doSomething(cb: (a, b) -> Unit) { doSomethingElse(cb.applyPartially(someField)) } // In another class fun doSomethingElse(cb: (b) -> Unit) { cb(someOtherField) }
r
deployed on the case?