The PrimitiveArray package

[Tags:bsd3, library, test]

generalized Algebraic Dynamic Programming

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

For generalized ADP 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]


Change log
Dependencies aeson (>=0.8), base (>=4.7 && <5.0), binary (>=0.7), bits (>=0.4), cereal (>=0.4), cereal-vector (>=0.2), deepseq (>=1.3), DPutils (==0.0.1.*), hashable (>=1.2), log-domain (>=0.10), OrderedBits (==0.0.1.*), primitive (>=0.5.4), QuickCheck (>=2.7), smallcheck (>=1.1), text (>=1.0), vector (>=0.10), vector-binary-instances (>=0.2), vector-th-unbox (>=0.2) [details]
License BSD3
Copyright Christian Hoener zu Siederdissen, 2011-2016
Author Christian Hoener zu Siederdissen, 2011-2016
Category Data
Home page
Bug tracker
Source repository head: git clone git://
Uploaded Mon Mar 6 16:54:44 UTC 2017 by ChristianHoener
Distributions NixOS:
Downloads 5103 total (48 in the last 30 days)
0 []
Status Docs available [build log]
Last success reported on 2017-03-06 [all 1 reports]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for PrimitiveArray

Readme for PrimitiveArray-

Build Status


generalized Algebraic Dynamic Programming 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