cabal-version: >=1.10 name: semifoldable version: 0.2 synopsis: Class of non-empty data structures that can be folded to a summary value. description: Class of non-empty data structures that can be folded to a summary value. . A compatibility package for @Semifoldable@ class which will be in base-4.?? license: BSD3 maintainer: Oleg Grenrus author: Edward Kmett, Oleg Grenrus homepage: https://github.com/phadej/semifoldable bug-reports: https://github.com/phadej/semifoldable/issues category: Data, Compatibility license-file: LICENSE build-type: Simple tested-with: GHC ==7.0.4 || ==7.2.2 || >=7.4.1 && <8.8 || ==8.8.1 , GHCJS ==8.4 source-repository head type: git location: https://github.com/phadej/semifoldable.git flag tagged description: You can disable the use of the `tagged` package using `-f-tagged`. . Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. default: True manual: True library default-language: Haskell2010 hs-source-dirs: src exposed-modules: Data.Semifoldable build-depends: base >=4.3 && <4.14 , containers >=0.4 && <0.7 , transformers >=0.3 && <0.6 if !impl(ghc >=8.6) build-depends: base-orphans >=0.8.1 && <0.9 if !impl(ghc >=8.0) build-depends: semigroups >=0.18.5 && <0.20 , transformers-compat >=0.6 && <0.7 if flag(tagged) build-depends: tagged >= 0.4.4 && < 1 if !impl(ghc >=7.6) build-depends: ghc-prim test-suite test default-language: Haskell2010 type: exitcode-stdio-1.0 hs-source-dirs: test main-is: Tests.hs -- because of quickcheck-instances if !impl(ghc >=7.4) buildable: False build-depends: base , containers , semifoldable , transformers if !impl(ghc >=8.0) build-depends: semigroups , transformers-compat build-depends: QuickCheck >=2.13.2 && <2.14 , quickcheck-instances >=0.3.22 && <0.4 , test-framework >=0.8.2.0 && <0.9 , test-framework-quickcheck2 >=0.3.0.5 && <0.4 benchmark bench default-language: Haskell2010 type: exitcode-stdio-1.0 hs-source-dirs: bench main-is: Bench.hs if !impl(ghc >=7.6) buildable: False build-depends: base , containers , semifoldable , transformers if !impl(ghc >=8.0) build-depends: semigroups , transformers-compat build-depends: criterion >=1.5.6.1 && <1.6 , deepseq >=1.3 && <1.5