Aaron is a Python module that adds some syntactic sugar to the Python function composition.
Let's say you have the following functions:
return n + 1
return n * 2
result = 1
for n in ns:
result *= n
With Aaron you could do something like this:
Or, you could use Aaron, decorate your functions with composable, and do this:
two_n_plus_one = double > add_one
product_of_lesser_numbers = ints_less_than >> product
You've probably figured out by now that > is composition, and >> is will splat the results into the next function.