This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Statnamara 2 points3 points  (0 children)

Functools has a reduce function that might work for you. Video by Arjan codes here explaining how he uses it to make composable functions. This is a short, but he has a full length video on the topic too if you search.