Join Slack
Communities
Powered by
IMO can be done without extra object allocation. S...
# announcements
m
miha-x64
12/19/2016, 1:16 PM
IMO can be done without extra object allocation. Something like this:
Copy code
inline fun <T> withSelf(crossinline block: (self: ()->T)->T)): ()->T = { block(block) }
Open in Slack
Previous
Next