I missed Python's `accumulate` function which is a...
# advent-of-code
a
I missed Python's
accumulate
function which is a sort of hybrid between
fold
& `map`so that you get a list of results by applying a operation to the previous result. So in the end I implemented it myself.