PrimitiveArray: Efficient multidimensional arrays

[ bsd3, data, library ] [ Propose Tags ]

This library provides efficient multidimensional arrays. Import Data.PrimitiveArray for indices, lenses, and arrays.

For ADPfusion users, the library also provides the machinary to fill tables in the correct order required by usual CYK-style parsers, or regular grammars (used e.g. in alignment algorithms). This means that unless your grammar require a strange order in which parsing is to be performed, it will mostly "just work".

In general all operations are (highly) unsafe, no bounds-checking or other sanity-checking is performed. Operations are aimed toward efficiency as much as possible.

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS],,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Change log
Dependencies aeson (>=0.8 && <0.10), base (>=4.7 && <4.9), binary (>=0.7 && <0.8), bits (>=0.4 && <0.5), cereal (>=0.4 && <0.5), deepseq (>=1.3 && <1.5), OrderedBits (>= && <, primitive (>=0.5.4 && <0.7), QuickCheck (>=2.7 && <2.9), vector (>=0.10 && <0.11), vector-binary-instances (>=0.2 && <0.3), vector-th-unbox (>=0.2 && <0.3) [details]
License BSD-3-Clause
Copyright Christian Hoener zu Siederdissen, 2011-2015
Author Christian Hoener zu Siederdissen, 2011-2015
Category Data
Home page
Bug tracker
Source repo head: git clone git://
Uploaded by ChristianHoener at 2015-07-14T14:54:27Z
Reverse Dependencies 28 direct, 8 indirect [details]
Downloads 24513 total (86 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-07-14 [all 1 reports]

Readme for PrimitiveArray-

[back to package description]

Build Status


generalized ADPfusion Homepage

PrimitiveArray provides operations on multi-dimensional arrays. Internally, the representation is based on the vector library, while the multi-dimensional indexing follows repa.

Primitive arrays are designed to be used together with ADPfusion.


Christian Hoener zu Siederdissen
Leipzig University, Leipzig, Germany