Harendra Kumar

Results 427 issues of Harendra Kumar

Currently we just call `error`: ``` if (next >= \val -> pure (next, val) else error $ "deserialize: accessing array at offset = " ++ show (next - 1) ++...

aspect:api

Otherwise we may create a lazy thunk which is evaluated later and we might be using a stale pointer.

api:breaking

``` castUnsafe => unsafeCast newArrayWith => emptyWithAligned getSliceUnsafe => unsafeGetSlice createOfWith => createWithOf (argument order convention) putIndexUnsafe => unsafePutIndex modifyIndexUnsafe => unsafeModifyIndex getIndexUnsafe => unsafeGetIndex realloc => reallocBytes reallocWith =>...

api:deprecating
aspect:api

Introduce something like `toForeignPtr` and `fromForeignPtr` so that we can implement the `toArray` and `fromArray` in streamly-bytestring.

aspect:arrays
aspect:api

`catRights` should produce error if it encounters `Left`. We can use `catRights_` for discarding `Left`s.

aspect:api

Many of the fold functions in Data.Fold should actually be scans in Data.Scan.

aspect:api

* Copy File module to FileIO, remove the deprecated functions from FileIO. * Change FilePath to Path in FileIO. * Deprecate the old File module

api:deprecating

In `Streamly/Internal/FileSystem/Event/Linux.hs` we convert the OS paths to and from String to use the FilePath APIs. We need to remove the usage of these and the representation of paths using...

aspect:filesystem

It does not make sense to use a non-terminating fold/parser in an applicative/alternative/monad composition. It would be nice if we can identify this and produce a warning. Theoretically, we can...

type:usability
aspect:folds
aspect:parsers

We need to keep track of the context e.g. position in the stream or line numbers in case of text processing, and report it when an error occurs.

type:enhancement
aspect:parsers