packages feed

ixset-1.1: ixset.cabal

Name:                ixset
Version:             1.1
Synopsis:            Efficient relational queries on Haskell sets.
Description:
    Create and query sets that are indexed by multiple indices.
License:             BSD3
License-file:        COPYING
Author:              Happstack team, HAppS LLC
Maintainer:          Happstack team <happs@googlegroups.com>
homepage:            http://happstack.com
Category:            Data Structures
Build-Type:          Simple
Cabal-Version:       >= 1.10
tested-with:         GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.2

source-repository head
    type:     git
    location: https://github.com/Happstack/ixset.git

flag base4

Library
  if flag(base4)
    Build-Depends:     base >=4 && < 5, syb
  else
    Build-Depends:     base < 4

  if impl(ghc < 8.4)
    build-depends: semigroups == 0.18.*
  if impl(ghc >= 6.12.1)
    Build-Depends:    syb-with-class >= 0.6.1
  else
    Build-Depends:    syb-with-class < 0.6.1


  Build-Depends:       containers,
                       safecopy,
                       template-haskell

  hs-source-dirs:      src
  Exposed-modules:
                       Data.IxSet
                       Data.IxSet.Ix

  if impl(ghc >= 6.12)
     ghc-options:      -Wall -fno-warn-unused-do-bind
  else
     ghc-options:      -Wall
  default-language: Haskell2010

Test-Suite test-ixset
    Default-Language:    Haskell2010
    type: exitcode-stdio-1.0
    main-is: Test.hs
    other-modules: Data.IxSet.Tests
    hs-source-dirs:    tests
    build-depends:     base,
                       Cabal >= 1.10,
                       containers,
                       HUnit,
                       ixset,
                       QuickCheck,
                       random