Just a side-track: isn’t it possible to use series math to do, for instance, cumsum! on Iterators?
cumsum!