The vector package

[Tags:bsd3, library, test]

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.

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.10


Versions 0.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)
Dependencies base (>=4 && <4.7), deepseq (>=1.1 && <1.4), ghc-prim, primitive (==0.5.*) [details]
License BSD3
Copyright (c) Roman Leshchinskiy 2008-2012
Author Roman Leshchinskiy <>
Maintainer Roman Leshchinskiy <>
Stability Unknown
Category Data, Data Structures
Home page
Bug tracker
Uploaded Fri Sep 28 20:24:06 UTC 2012 by RomanLeshchinskiy
Updated Thu Dec 4 08:43:10 UTC 2014 by HerbertValerioRiedel to revision 1
Distributions Arch:, Debian:, Fedora:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 200606 total (121 in the last 30 days)
0 []
Status Docs 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


Maintainer's Corner

For package maintainers and hackage trustees