packages feed

hw-fingertree-strict-0.1.0.1: hw-fingertree-strict.cabal

name:                   hw-fingertree-strict
version:                0.1.0.1
-- synopsis:
-- description:
homepage:               https://github.com/githubuser/hw-fingertree-strict#readme
license:                BSD3
license-file:           LICENSE
author:                 John Ky
maintainer:             newhoggy@gmail.com
copyright:              2017 John Ky; 2006 Ross Paterson, Ralf Hinze
category:               Data Structures
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.
build-type:             Simple
extra-source-files:     README.md
cabal-version:          >=1.10

library
  hs-source-dirs:       src
  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
  build-depends:        base >= 4.7 && < 5
  default-language:     Haskell2010
  if !impl(ghc >= 8.0)
    build-depends: semigroups == 0.18.*

test-suite hw-fingertree-strict-test
  type: exitcode-stdio-1.0
  default-language: Haskell2010
  other-modules:        HaskellWorks.Data.Gen
                      , HaskellWorks.Data.SegmentMap.StrictSpec
                      , HaskellWorks.Data.SegmentSet.StrictSpec
                      , HaskellWorks.Data.SegmentSet.Naive
                      , HaskellWorks.Data.SegmentSet.NaiveSpec
  hs-source-dirs:  test
  main-is:         Spec.hs
  cpp-options: -DTESTING
  build-depends:        base >= 4.2 && < 6
                      , hedgehog
                      , hspec
                      , HUnit
                      , hw-fingertree-strict
                      , hw-hspec-hedgehog
                      , QuickCheck
                      , test-framework
                      , test-framework-hunit
                      , test-framework-quickcheck2
  ghc-options:          -threaded -rtsopts -with-rtsopts=-N
  default-language:     Haskell2010

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