vector: Efficient Arrays

[ bsd3, data, data-structures, library ] [ Propose Tags ]

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.

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

Changes in version 0.10.0.1

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.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 (info)
Dependencies base (>=4 && <4.7), deepseq (>=1.1 && <1.4), ghc-prim, primitive (>=0.5.0.1 && <0.6) [details]
License BSD-3-Clause
Copyright (c) Roman Leshchinskiy 2008-2012
Author Roman Leshchinskiy <rl@cse.unsw.edu.au>
Maintainer Roman Leshchinskiy <rl@cse.unsw.edu.au>
Revised Revision 1 made by HerbertValerioRiedel at Thu Dec 4 08:44:35 UTC 2014
Category Data, Data Structures
Home page http://code.haskell.org/vector
Bug tracker http://trac.haskell.org/vector
Uploaded by RomanLeshchinskiy at Wed Oct 10 22:19:03 UTC 2012
Distributions Arch:0.12.0.1, Debian:0.11.0.0, Fedora:0.12.0.1, FreeBSD:0.10.12.3, LTSHaskell:0.12.0.1, NixOS:0.12.0.1, Stackage:0.12.0.1, openSUSE:0.12.0.1
Downloads 328522 total (557 in the last 30 days)
Rating 2.0 (votes: 2) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
boundschecks

Enable bounds checking

EnabledAutomatic
unsafechecks

Enable bounds checking in unsafe operations at the cost of a significant performance penalty

DisabledAutomatic
internalchecks

Enable internal consistency checks at the cost of a significant performance penalty

DisabledAutomatic

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

Downloads

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