Scala
Introduction to Recursion Schemes with Matryoshka
Recursion is the GOTO of functional programming - Erik Meijer^1 Recursive data structures In our daily programming life, we encounter recursive data structures on a regular basis. The best-known examples include linked lists and trees. Often working with such data structures we have a need to evaluate (collapse) them