Harendra Kumar
Harendra Kumar
For example: ``` unsafePinnedCreateUsingPtr :: MonadIO m => Int -> (Ptr Word8 -> m Int) -> m (MutArray Word8) ``` can become: ``` unsafePinnedCreateUsingPtr :: MonadIO m => Int ->...
The Scanl type now represents the use cases where we need to extract the intermediate values of the accumulator. The Fold type would not have the `extract` operation anymore thus...
Considering that most common use would be to parse a stream of Unboxable types, we should consider using the `parse` name for parsing with an `Unbox` constraint so that we...
In most cases we can just use `fromScanl` to get a fold from a scan.
The Fold type currently represents two functionalities - fold and scan. This causes problems in some cases, some folds are not scans. We can split the Fold module into two...