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:

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]

Properties

Versions 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 (info)
Change log changelog
Dependencies base (==4.*), deepseq (>=1.1 && <1.4), ghc-prim, primitive (>=0.5.0.1 && <0.6) [details]
License BSD3
Copyright (c) Roman Leshchinskiy 2008-2012
Author Roman Leshchinskiy <rl@cse.unsw.edu.au>
Maintainer libraries@haskell.org
Stability Unknown
Category Data, Data Structures
Home page https://github.com/haskell/vector
Bug tracker https://github.com/haskell/vector/issues
Source repository head: git clone https://github.com/haskell/vector.git
Uploaded Tue Jun 3 09:13:24 UTC 2014 by HerbertValerioRiedel
Distributions Arch:0.11.0.0, Debian:0.11.0.0, Fedora:0.11.0.0, FreeBSD:0.10.12.3, LTSHaskell:0.11.0.0, NixOS:0.11.0.0, Stackage:0.11.0.0, Tumbleweed:0.11.0.0
Downloads 200500 total (139 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Flags

NameDescriptionDefaultType
boundschecksEnable bounds checkingEnabledManual
unsafechecksEnable bounds checking in unsafe operations at the cost of a significant performance penaltyDisabledManual
internalchecksEnable internal consistency checks at the cost of a significant performance penaltyDisabledManual

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for vector

Readme for vector-0.10.10.0

The vector package

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