Functional Programming Arrow IO

From Imperative to Functional Programming using Arrow

This is the 1st post in the From Imperative to Functional Programming focus series. Some time ago, I watched the talk FP to the max. While the end of the talk is quite Scala-ish, the beginning can be of interest regardless of the language. In the talk, the speaker tries to migrate a standard imperative-like application using a functional approach. I wanted to check if it was possible to do the same in Kotlin.

Functional Programming group by

From Imperative to Functional Programming: a grouping issue (and how to solve it)

This is the 3rd post in the From Imperative to Functional Programming focus series. There's a whole category of problems related to grouping e.g.: Given a collection of person, return a list of pairs with the first value the age, and the second one the collection of persons of that age. Given a collection of orders, return a list of pairs with some price range _e.g._ $0-$100, $101-$200, etc. as the first value, and the number of such orders as the second one. Given a collection of words, return a