Join Slack
Powered by
Yes, if inferred type is work for you In this part...
# functional
g
gildor
07/30/2018, 9:37 AM
Yes, if inferred type is work for you In this particular case
println
returns Unit, so type will be
() -> Unit
, but if last lambda expression returns some other type, infered type will be
() -> LastExpressionType
2
Views
Open in Slack
Previous
Next