Used as a scan. Returns
Just for the first occurrence of an
element, returns
Nothing for any other occurrences.
Example:
>>> stream = Stream.fromList [1::Int,1,2,3,4,4,5,1,5,7]
>>> Stream.fold Fold.toList $ Stream.scanMaybe Fold.nub stream
[1,2,3,4,5,7]
Pre-release