It seems to me function composition does similar thing as inheritance. I don't know about other (more higher?) functionnal patterns.
Side note: I already had to write or copy/paste most of the function of pytoolz already once at least.
Side note: I already had to write or copy/paste most of the function of pytoolz already once at least.
So if you have function f1 that takes a and returns b (a -> b) and a function f2 that takes b and returns c (b -> c) you can compose them into a function (a -> c) all it does is call f2(f1(a))