SwiftKotlin
SwiftKotlin copied to clipboard
reduce function
Swift:
.reduce(0, +)
Translated:
.reduce(0, +)
Should be translated to:
.fold(0.0) { total, next ->
total + next
}