vector icon indicating copy to clipboard operation
vector copied to clipboard

An efficient implementation of Int-indexed arrays (both mutable and immutable), with a powerful loop optimisation framework .

Results 64 vector issues
Sort by recently updated
recently updated
newest added

https://github.com/haskell/vector/blob/6b8bbc3a75b40451d8d225e30c576dfe89121c49/vector/src/Data/Vector/Unboxed.hs#L61-L63 https://github.com/haskell/vector/blob/6b8bbc3a75b40451d8d225e30c576dfe89121c49/vector/src/Data/Vector/Unboxed/Mutable.hs#L17-L19 I was confused as to why `Vector` data instances are not exposed but `MVector` instances are. Then I found https://github.com/haskell/vector/issues/49#issuecomment-62709758 which explains why exposing them is unsafe, which...

#485 did only half of the job: while GHC now knows that index is used strictly it still would not necessarily unpack it, because `basicUnsafeIndexM` must receive `Int` not `Int#`....

This is the overview of the programme to add total counterparts to partial functions, such as `head`. I @kindaro am accountable for this overview and I shall keep this message...

API based on `Applicative` has been requested multiple times: - #69 `traverse` - #132 weaken constraint on `mapM` (again `traverse`) - #144 `generateA` This is quite natural request. `Applicative` is...

Unboxed vectors can't be Traversable due to the Unbox constraint on the element type, but it would be very useful if there were an analogous generic traverse method: ``` traverse...

enhancement
question
design-shed

As it is, the Chunk type in Data.Vector.Fusion.Bundle.Monadic is much less useful than it could be.Here are some ways, ranked by desirability and compatibility-breaking, on how it could be better....

enhancement
question
design-shed

For quite some time test suite `vector-tests-O2` was unbuildable on CI for newer ghc versions 8.2 - 8.10 See: * #272 * https://ghc.haskell.org/trac/ghc/ticket/13535 The culprit was Unboxed vector, in particular...

The underlying arrays created by `fromList` can be much larger than the length of the list. This is because `fromList` works by doubling the size of the underlying array when...

help-wanted
documentation

I've successfully setup `doctests` for a few of my projects, here is one such example: https://github.com/lehins/massiv/blob/3d5c093abfa04119c9bc100758cae6de374e6f07/massiv/massiv.cabal#L104-L116 Adding examples to haddock that are actually checked during CI brings enormous value not...

help-wanted
documentation

Hi, I'm opening this issue regarding the documentation of the following functions: ![Screenshot from 2020-05-08 20-50-20](https://user-images.githubusercontent.com/15848443/81438748-8bbb6b80-916d-11ea-8ed1-5ab4ec6f2645.png) --- Nowhere in the module documentation or in those functions it is said clearly...

help-wanted
documentation