Harendra Kumar

Results 427 issues of 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...

aspect:folds
aspect:api

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...

api:breaking
aspect:folds

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))...

aspect:folds
aspect:api

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 ```...

aspect:api

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...

aspect:folds
aspect:api

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...

api:breaking
aspect:folds

To deserialize piecemeal. If an Array has multiple objects we should be able to deserialize them one at a time.

api:breaking

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.

type:documentation

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...

aspect:api
aspect:concurrency