Functional patterns

Functional patterns #

This chapter gathers a few high-level patterns commonly used in functional programs.

We will illustrate most of them with Haskell, but also see how some have made their way to Java, notably via the Stream interface.