The vector package

[Tags: bsd3, library]

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

It is structured as follows:

Boxed vectors of arbitrary types.
Unboxed vectors with an adaptive representation based on data type families.
Unboxed vectors of Storable types.
Unboxed vectors of primitive types as defined by the primitive package. Data.Vector.Unboxed is more flexible at no performance cost.
Generic interface to the vector types.

Each module has a Safe version with is marked as Trustworthy (see

There is also a (draft) tutorial on common uses of vector.

Please use the project trac to submit bug reports and feature requests.

Changes in version 0.9.1

Changes in version 0.9

Changes in version 0.8


Versions0.1, 0.2, 0.3, 0.3.1, 0.4, 0.4.1, 0.4.2, 0.5, 0.6,,, 0.7,, 0.7.1, 0.8, 0.9, 0.9.1, 0.10,,,,,,,,,,,, (info)
Change logChangelog
Dependenciesbase (==4.*), ghc-prim, primitive (>= && <0.5) [details]
Copyright(c) Roman Leshchinskiy 2008-2011
AuthorRoman Leshchinskiy <>
MaintainerRoman Leshchinskiy <>
CategoryData, Data Structures
Home page
Bug tracker
UploadedSat Dec 31 00:31:02 UTC 2011 by RomanLeshchinskiy
DistributionsDebian:, Fedora:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:
Downloads198949 total (233 in last 30 days)
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]




boundschecksEnable bounds checkingEnabledAutomatic
unsafechecksEnable bounds checking in unsafe operations at the cost of a significant performance penaltyDisabledAutomatic
internalchecksEnable internal consistency checks at the cost of a significant performance penaltyDisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainers' corner

For package maintainers and hackage trustees