The DPutils package

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.



Small set of utility functions

[Skip to ReadMe]


Dependenciesbase (>=4.7 && <5.0), bytestring, containers, kan-extensions (>=4.0), parallel (>=3.0), pipes (>=4.0), QuickCheck (>=2.7), stringsearch (>=0.3), transformers (>=0.5), vector (>=0.10) [details]
CopyrightChristian Hoener zu Siederdissen, 2016
AuthorChristian Hoener zu Siederdissen, 2016
Home page
Bug tracker
Source repositoryhead: git clone git://
UploadedFri Mar 3 15:44:10 UTC 2017 by ChristianHoener




Maintainers' corner

For package maintainers and hackage trustees

Readme for DPutils-

Build Status


Small set of utility functions. Currently centered around dynamic programming.

Math.TriangularNumbers provides indexing into upper triangular tables. With back and forth between the index pair and the linear index.

Data.Paired.Vector provided rectangular and upper-triangular pairing of elements from a vector.

Data.Paired.Foldable is a more powerful generalization of such pairing for any foldable container. We try to only retain elements that will be needed for the pairing, while others are being filtered out.

Pipes.Parallel provides some simple tools for parallelisation of tasks with the pipes eco-system.


Christian Hoener zu Siederdissen
Leipzig University, Leipzig, Germany