Harendra Kumar
Harendra Kumar
We have a `scanl` operation for running a scan on the input of a Scanl or Fold and a `scanl'` smart constructor which may be confusing. We can make the...
We should first remove the operations like scan using folds that use this field before removing this field from the Fold constructor. Once it becomes truly unused it can be...
We should be able to generate a stream when the scan ends: ``` data Scanl m a b = forall s. Scanl (s -> a -> m (Step s b))...
Flip the first two arguments resulting in the following signature: ``` data Scanr m a b = forall s. Scanr (a -> s -> m (Step s b)) s ```...
We do not need rmapM for Scanl as its output is a stream. So we can make `extract :: s -> b`. It will make extract idempotent which is a...
Classify does not restart a fold after it terminates whereas demux does. We should perhaps use the classify behavior in demux as well. This can be done easily by installing...
To deserialize piecemeal. If an Array has multiple objects we should be able to deserialize them one at a time.
This module has been copied from the Fold module, the docs are still from the perspective of folds, requires minor changes to use scan terminology.
Create a fold/scan and a stream sharing a concurrency channel such that if you run the fold the results appear in the stream. We can generalize this to one fold...