Join Slack
I feel like I'm missing something here, how do I return a function from a function?
# functional
n
Niels Renard
07/12/2018, 6:57 AM
I feel like I'm missing something here, how do I return a function from a function?
g
gildor
07/12/2018, 7:00 AM
Just use functional type as return type (like for lambda declaration), Then just return lambda or method reference (
::method
) from this function
5
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by