vector: Efficient Arrays
An efficient implementation of Int
-indexed arrays (both mutable
and immutable), with a powerful loop optimisation framework .
It is structured as follows:
- Data.Vector
- Boxed vectors of arbitrary types.
- Data.Vector.Unboxed
- Unboxed vectors with an adaptive representation based on data type families.
- Data.Vector.Storable
- Unboxed vectors of
Storable
types. - Data.Vector.Primitive
- Unboxed vectors of primitive types as
defined by the
primitive
package. Data.Vector.Unboxed is more flexible at no performance cost. - Data.Vector.Generic
- Generic interface to the vector types.
There is also a (draft) tutorial on common uses of vector.
[Skip to Readme]
Modules
[Index] [Quick Jump]
- Data
- Data.Vector
- Fusion
- Data.Vector.Generic
- Data.Vector.Generic.Base
- Data.Vector.Generic.Mutable
- Data.Vector.Generic.New
- Internal
- Data.Vector.Internal.Check
- Data.Vector.Mutable
- Data.Vector.Primitive
- Data.Vector.Storable
- Data.Vector.Storable.Internal
- Data.Vector.Storable.Mutable
- Data.Vector.Unboxed
- Data.Vector.Unboxed.Base
- Data.Vector.Unboxed.Mutable
- Data.Vector
Flags
Manual Flags
Name | Description | Default |
---|---|---|
boundschecks | Enable bounds checking | Enabled |
unsafechecks | Enable bounds checking in unsafe operations at the cost of a significant performance penalty | Disabled |
internalchecks | Enable internal consistency checks at the cost of a significant performance penalty | Disabled |
wall | Enable all -Wall warnings | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- vector-0.13.0.0.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1, 0.2, 0.3, 0.3.1, 0.4, 0.4.1, 0.4.2, 0.5, 0.6, 0.6.0.1, 0.6.0.2, 0.7, 0.7.0.1, 0.7.1, 0.8, 0.9, 0.9.1, 0.10, 0.10.0.1, 0.10.9.0, 0.10.9.1, 0.10.9.2, 0.10.9.3, 0.10.10.0, 0.10.11.0, 0.10.12.0, 0.10.12.1, 0.10.12.2, 0.10.12.3, 0.11.0.0, 0.12.0.0, 0.12.0.1, 0.12.0.2, 0.12.0.3, 0.12.1.0, 0.12.1.1, 0.12.1.2, 0.12.2.0, 0.12.3.0, 0.12.3.1, 0.13.0.0, 0.13.1.0, 0.13.2.0 (info) |
---|---|
Change log | changelog.md |
Dependencies | base (>=4.9 && <4.20), deepseq (>=1.1 && <1.6), primitive (>=0.6.4.0 && <0.9), vector-stream (>=0.1 && <0.2) [details] |
Tested with | ghc ==8.0.2, ghc ==8.2.2, ghc ==8.4.4, ghc ==8.6.5, ghc ==8.8.4, ghc ==8.10.7, ghc ==9.0.1, ghc ==9.2.3 |
License | BSD-3-Clause |
Copyright | (c) Roman Leshchinskiy 2008-2012, Alexey Kuleshevich 2020-2022, Aleksey Khudyakov 2020-2022, Andrew Lelechenko 2020-2022 |
Author | Roman Leshchinskiy <rl@cse.unsw.edu.au> |
Maintainer | Haskell Libraries Team <libraries@haskell.org> |
Revised | Revision 5 made by Bodigrim at 2023-08-10T22:02:05Z |
Category | Data, Data Structures |
Home page | https://github.com/haskell/vector |
Bug tracker | https://github.com/haskell/vector/issues |
Source repo | head: git clone https://github.com/haskell/vector.git(vector) |
Uploaded | by lehins at 2022-06-19T19:35:25Z |
Distributions | Arch:0.13.1.0, Debian:0.12.1.2, Fedora:0.13.0.0, FreeBSD:0.10.12.3, LTSHaskell:0.13.1.0, NixOS:0.13.1.0, Stackage:0.13.2.0, openSUSE:0.13.1.0 |
Reverse Dependencies | 2058 direct, 12816 indirect [details] |
Downloads | 421710 total (733 in the last 30 days) |
Rating | 2.75 (votes: 14) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2022-06-19 [all 1 reports] |