FoldPairList¶
Like FoldList, but the combining function returns a pair
{value_to_output, new_state}.
A fourth argument is applied to the whole {value, new_state} pair before
it is emitted.
FoldPairList¶Like FoldList, but the combining function returns a pair
{value_to_output, new_state}.
A fourth argument is applied to the whole {value, new_state} pair before
it is emitted.