The fixed-vector package

[ Tags: bsd3, data, library ] [ Propose Tags ]

Generic library for vectors with statically known size. Implementation is based on Same functions could be used to work with both ADT based vector like

data Vec3 a = a a a

Tuples are vectors too:

>>> sum (1,2,3)

Vectors which are represented internally by arrays are provided by library. Both boxed and unboxed arrays are supported.

Library is structured as follows:

Generic API. It's suitable for both ADT-based vector like Complex and array-based ones.
Continuation based vectors. Internally all functions use them.
Type classes for array-based implementation and API for working with mutable state.
Unboxed vectors.
Boxed vector which can hold elements of any type.
Unboxed vectors of Storable types.
Unboxed vectors based on pritimive package.

Changes in

Changes in

Changes in 0.1.2

Changes in 0.1.1


Versions 0.1, 0.1.1, 0.1.2,,,,,,,,,,,,,,,,,,,,,,,,,,
Dependencies base (>=3 && <5), primitive [details]
License BSD3
Author Aleksey Khudyakov <>
Maintainer Aleksey Khudyakov <>
Category Data
Bug tracker
Source repository head: hg clone
head: git clone
Uploaded Wed Mar 6 18:11:10 UTC 2013 by AlexeyKhudyakov
Distributions LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 6911 total (69 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees