hnOsmium0x0
04/21/2020, 9:52 PMfunction() { args ->
// Blah
}
and (optional) Java style lambdas for currying as presented below
function(curried -> args -> {
// Blah
})
Because in Kotlin's syntax, curried lambdas are really ugly
function() { curried ->
{ args ->
// Blah
}
}
Alternatively I think this is acceptable too, if we don't want to sacrifice too much Kotlin's syntax uniformity
function() { curried -> args ->
// Blah
}
natpryce
04/21/2020, 10:20 PMfun
rather than lambdas:
function(fun(foo:Int)=fun(bar: String)= … blah …)hnOsmium0x0
04/22/2020, 12:25 AM