File: filtrable.cabal

package info (click to toggle)
haskell-filtrable 0.1.6.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 100 kB
  • sloc: haskell: 255; makefile: 3
file content (54 lines) | stat: -rw-r--r-- 1,839 bytes parent folder | download
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
48
49
50
51
52
53
54
name:                filtrable
version:             0.1.6.0
x-revision: 1
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.7
  if flag(containers)
    build-depends:     containers >=0.5.11 && <0.7
  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.5
                     , tasty-smallcheck >=0.8.1 && <0.9

flag containers
  description:         instances for containers package
  default:             True