IntervalMap Hackage 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:

Install from hackage with cabal install.

To run the tests, extract the archive, and do

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

Changes Bugfix: exported Prelude functions instead of correct ones. Improve performance of findLast. Major performance improvements. Improve performance of combine.
Fix wrong doc comments. Change return type of containing, ... to a map.
Add splitAt, splitIntersecting, flatten... functions.
Minor performance tweaks. Fix bug in benchmark. Add IntervalSet.
Minor performance tweaks.
Documentation updates.
Moved to GitHub. Documentation update. Wrong portability info fixed. Major update adding support for user-defined key intervals. Updated benchmark to use Criterion 1.0. Tested with ghc 7.8.3. Dropped upper constraint on criterion. Tested with ghc 7.6.3.
Migrated repo to Darcs Hub. Bugfixes: Lazy was too strict, Strict too lazy. Split into Lazy and Strict modules, following containers.

comments powered byDisqus