discrimination: Fast generic linear-time sorting, joins and container construction.

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

This package provides fast, generic, linear-time discrimination and sorting.

The techniques applied are based on multiple papers and talks by Fritz Henglein.

[Skip to Readme]


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

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 0, 0.1, 0.2.1, 0.3, 0.4, 0.4.1, 0.5
Change log CHANGELOG.markdown
Dependencies array (>= && <0.6), base (>=4.9 && <5), containers (>= && <0.8), contravariant (>=1.5.3 && <2), deepseq (>= && <1.6), ghc-bignum (>=1.0 && <1.4), ghc-prim, hashable (>= && <1.5), integer-gmp (>=1.0 && <1.1), primitive (>= && <0.10), promises (>=0.3 && <0.4), semigroups (>=0.18.5 && <1), transformers (>= && <0.7) [details]
License BSD-3-Clause
Copyright Copyright (C) 2014-2015 Edward A. Kmett
Author Edward A. Kmett
Maintainer Edward A. Kmett <ekmett@gmail.com>
Revised Revision 3 made by phadej at 2024-02-16T15:43:36Z
Category Data, Sorting
Home page http://github.com/ekmett/discrimination/
Bug tracker http://github.com/ekmett/discrimination/issues
Source repo head: git clone git://github.com/ekmett/discrimination.git
Uploaded by phadej at 2022-06-15T14:19:20Z
Distributions LTSHaskell:0.5, NixOS:0.5, Stackage:0.5
Reverse Dependencies 6 direct, 56 indirect [details]
Downloads 6493 total (40 in the last 30 days)
Rating 2.5 (votes: 3) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-06-15 [all 1 reports]

Readme for discrimination-0.5

[back to package description]


Hackage Build Status

This package provides linear time sorting, partitioning, and joins for a wide array of Haskell data types. This work is based on a "final encoding" of the ideas presented in multiple papers and talks by Fritz Henglein.

By adopting a final encoding we can enjoy many instances for standard classes, lawfully, without quotienting.

Contact Information

Contributions and bug reports are welcome!

Please feel free to contact me through github or on the #haskell IRC channel on irc.freenode.net.

-Edward Kmett