Also known as
The functional pattern representing a style of organizing libraries centered around the idea of combining functions.
Putting it simply, there is some type T, some functions for constructing "primitive" values of type T, and some "combinators" which can combine values of type T in various ways to build up more complex values of type T.
Use the combinator pattern when:
- You are able to create a more complex value from more plain values but having the same type(a combination of them)
Real world examples