Name:                IntervalMap
Version:             0.2.3.3
Stability:           experimental
Synopsis:            Maps from Intervals to values, with efficient search.
Homepage:            http://www.chr-breitkopf.de/comp/IntervalMap
License:             BSD3
License-file:        LICENSE
Author:              Christoph Breitkopf
Maintainer:          Christoph Breitkopf <chbreitkopf@googlemail.com>
bug-reports:         mailto:chbreitkopf@googlemail.com
Copyright:           Copyright 2011 Christoph Breitkopf
Category:            Data
Build-type:          Simple
Cabal-version:       >= 1.8
Tested-With:         GHC==7.4.1, GHC==7.0.4, GHC==6.12.1
Description:
                     A map from intervals to values, with efficient search
                     for all keys containing a point or overlapping an interval.
                     See the example code on the home page for a quick introduction.

extra-source-files:
  README
  test/*.hs
  examples/*.lhs

Library
  Exposed-modules:     Data.IntervalMap, Data.IntervalMap.Interval
  Build-depends:       base >= 4 && < 5, containers, deepseq
  ghc-options: -Wall
  if impl(ghc >= 6.8)
    ghc-options: -fwarn-tabs

Test-Suite TestInterval
  type:               exitcode-stdio-1.0
  main-is:            IntervalTests.hs
  hs-source-dirs:     . test
  build-depends:      base >= 4 && < 5, containers, deepseq,
                      QuickCheck, Cabal >= 1.9.2

Test-Suite TestIntervalMap
  type:               exitcode-stdio-1.0
  main-is:            IntervalMapTests.hs
  hs-source-dirs:     . test
  build-depends:      base >= 4 && < 5, containers, deepseq,
                      QuickCheck, Cabal >= 1.9.2

benchmark bench-all
  type:               exitcode-stdio-1.0
  hs-source-dirs:     . bench
  main-is:            BenchAll.hs
  Build-depends:      base >= 4 && < 5,
                      containers, random, deepseq,
                      criterion >= 0.6 && < 0.7
  ghc-options: -Wall

source-repository head
  type:     darcs
  location: http://www.chr-breitkopf.de/repos/IntervalMap