packages feed

hw-fingertree-strict-0.1.1.3: hw-fingertree-strict.cabal

cabal-version:  2.2

name:               hw-fingertree-strict
version:            0.1.1.3
synopsis:           Generic strict finger-tree structure
description:        A general sequence representation with arbitrary
                    annotations, for use as a base for implementations of
                    various collection types, with examples, as described
                    in section 4 of
                    .
                    * Ralf Hinze and Ross Paterson,
                    \"Finger trees: a simple general-purpose data structure\",
                    /Journal of Functional Programming/ 16:2 (2006) pp 197-217.
                    <http://staff.city.ac.uk/~ross/papers/FingerTree.html>
                    .
                    For a tuned sequence type, see @Data.Sequence@ in the
                    @containers@ package, which is a specialization of
                    this structure.
category:           Data Structures
homepage:           https://github.com/haskell-works/hw-fingertree-strict#readme
bug-reports:        https://github.com/haskell-works/hw-fingertree-strict/issues
author:             John Ky
maintainer:         newhoggy@gmail.com
copyright:          2017-2019 John Ky;
                    2006 Ross Paterson, Ralf Hinze
license:            BSD-3-Clause
license-file:       LICENSE
tested-with:        GHC == 8.8.1, GHC == 8.6.5, GHC == 8.4.4, GHC == 8.2.2
build-type:         Simple
extra-source-files: README.md

source-repository head
  type: git
  location: https://github.com/haskell-works/hw-fingertree-strict

common base                       { build-depends: base                       >= 4.7        && < 5      }

common deepseq                    { build-depends: deepseq                    >= 1.4        && < 1.5    }
common hedgehog                   { build-depends: hedgehog                   >= 0.6        && < 1.1    }
common hspec                      { build-depends: hspec                      >= 2.4        && < 2.8    }
common HUnit                      { build-depends: HUnit                      >= 1.5        && < 1.7    }
common hw-hspec-hedgehog          { build-depends: hw-hspec-hedgehog          >= 0.1        && < 0.2    }
common QuickCheck                 { build-depends: QuickCheck                 >= 2.10       && < 2.14   }
common test-framework             { build-depends: test-framework                                       }
common test-framework-hunit       { build-depends: test-framework-hunit                                 }
common test-framework-quickcheck2 { build-depends: test-framework-quickcheck2                           }

common hw-fingertree-strict
  build-depends: hw-fingertree-strict

common config
  default-language:     Haskell2010
  if !(impl(ghc >= 8.0))
    build-depends:
      semigroups == 0.18.*

library
    import:             base, config
                      , deepseq
  hs-source-dirs:       src
  other-extensions:     DeriveAnyClass
  other-modules:        Paths_hw_fingertree_strict
  autogen-modules:      Paths_hw_fingertree_strict
  exposed-modules:      HaskellWorks.Data.FingerTree.Strict
                        HaskellWorks.Data.IntervalMap.Strict
                        HaskellWorks.Data.Item.Strict
                        HaskellWorks.Data.PriorityQueue.Strict
                        HaskellWorks.Data.SegmentMap.Strict
                        HaskellWorks.Data.SegmentSet.Strict
                        HaskellWorks.Data.Segment.Strict

test-suite hw-fingertree-strict-test
  import:               base, config
                      , HUnit
                      , QuickCheck
                      , hedgehog
                      , hspec
                      , hw-fingertree-strict
                      , hw-hspec-hedgehog
                      , test-framework
                      , test-framework-hunit
                      , test-framework-quickcheck2
  type:                 exitcode-stdio-1.0
  main-is:              Spec.hs
  hs-source-dirs:       test
  ghc-options:          -threaded -rtsopts -with-rtsopts=-N
  cpp-options:          -DTESTING
  build-tool-depends:   hspec-discover:hspec-discover
  autogen-modules:      Paths_hw_fingertree_strict
  other-modules:        HaskellWorks.Data.FingerTree.Gen
                        HaskellWorks.Data.FingerTree.Strict.Gen
                        HaskellWorks.Data.FingerTree.StrictSpec
                        HaskellWorks.Data.FingerTreeSpec
                        HaskellWorks.Data.Gen
                        HaskellWorks.Data.SegmentMap.StrictSpec
                        HaskellWorks.Data.SegmentSet.Naive
                        HaskellWorks.Data.SegmentSet.NaiveSpec
                        HaskellWorks.Data.SegmentSet.StrictSpec
                        Paths_hw_fingertree_strict