Add scan, concatMap, and last to Sequence
Scan
Allows you to accumulate values as you go along.
Last
Returns the last value in a sequence.
concatMap
This is like flattenOnce, but it preserves the keys.
Allows you to accumulate values as you go along.
Returns the last value in a sequence.
This is like flattenOnce, but it preserves the keys.