IntervalMap

Containers for intervals, with efficient search.

http://www.chr-breitkopf.de/comp/IntervalMap

Version on this page:0.5.1.1
LTS Haskell 22.40:0.6.2.1
Stackage Nightly 2024-11-04:0.6.2.1
Latest on Hackage:0.6.2.1

See all snapshots IntervalMap appears in

BSD-3-Clause licensed by Christoph Breitkopf
Maintained by Christoph Breitkopf
This version can be pinned in stack with:IntervalMap-0.5.1.1@sha256:394534de362575da3b30345bc94cfb8bb3685327968211728df5e038bb989941,5000

IntervalMap Build Status

@GitHub users: please base pull requests on the develop branch. Thanks.

Containers for intervals. Like Data.Set and Data.Map with Intervals as keys and functions for efficiently getting the subset of all intervals containing a point, intersecting an interval, and more.

Home page and documentation: http://www.chr-breitkopf.de/comp/IntervalMap/index.html

Install from hackage with cabal install.

To run the tests, extract the archive, and do

$ cabal configure --enable-tests
$ cabal build
$ cabal test