api / koma.internal.default.utils / kotlin.collections.List / accumulateRight

accumulateRight

fun <T>List<T>.accumulateRight(f: (T,T) ->T):ArrayList<T>

Similar to reduceRight, except the results of each stage are stored off into the output list instead of just the final result.