Robuta

https://www.baeldung.com/scala/reduce-fold-scan-left-right Understanding the Differences: reduceLeft, reduceRight, foldLeft, foldRight, scanLeft, and... Mar 18, 2024 - Learn about six powerful functions of Scala language for aggregating the elements of a collection. understandingdifferencesreducerightfoldleftfoldright