Is there any operator for Iterables that allows yo...
# announcements
s
Is there any operator for Iterables that allows you to map with some mutable state, then push that state to the next iteration? Sort of like a reduce but only to map not to flatten. I suppose I could
fold
with a mutable list of
Pairs
.
n
maybe Grouping's fold?
eh, maybe not. yeah, tricky.
s
Ultimately I just refactored the irritating code to eliminate this problem