summaryrefslogtreecommitdiff
path: root/filtrable.cabal
blob: 7e835e3e68be1ed9a40eb6ad9a11e83b82e61f27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name:                filtrable
version:             0.1.5.0
synopsis:            Class of filtrable containers
homepage:            https://github.com/strake/filtrable.hs
license:             BSD3
license-file:        LICENSE
author:              M Farkas-Dyck
maintainer:          strake888@gmail.com
category:            Data
build-type:          Simple
cabal-version:       >=1.10
tested-with:         GHC ==8.0.*
                     GHC ==8.2.*
                     GHC ==8.4.*
                     GHC ==8.6.*
                     GHC ==8.8.*
description:
  See "Data.Filtrable".

library
  exposed-modules:     Data.Filtrable
  other-modules:
    Data.Set.Private
  build-depends:       base >=4.9 && <5
                     , transformers >=0.5 && <0.6
  default-language:    Haskell2010
  default-extensions:
    LambdaCase
    ConstrainedClassMethods
  ghc-options:         -Wall -Wcompat -Wredundant-constraints -Wno-name-shadowing
                       -Wincomplete-record-updates -Wincomplete-uni-patterns
                       -Werror=incomplete-patterns
                       -Werror=incomplete-uni-patterns
                       -Werror=incomplete-record-updates
                       -Werror=missing-fields
                       -Werror=missing-methods

test-suite test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  default-language:    Haskell2010
  build-depends:       base >=4.9 && <5
                     , filtrable
                     , smallcheck >=1.2 && <1.3
                     , tasty >=1.3.1 && <1.4
                     , tasty-smallcheck >=0.8.1 && <0.9