summaryrefslogtreecommitdiff
path: root/intset-imperative.cabal
blob: 6ab39a8fae90afd50579348d9c3246f8b48a2969 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name:           intset-imperative
version:        0.1.0.0
description:
    An imperative integer set written in Haskell.
    .
    Read <https://deliquus.com/posts/2018-07-30-imperative-programming-in-haskell.html> for more information.
synopsis:       An imperative integer set written in Haskell.
homepage:       https://github.com/hverr/haskell-intset-imperative#readme
bug-reports:    https://github.com/hverr/haskell-intset-imperative/issues
author:         Henri Verroken
maintainer:     henriverroken@gmail.com
copyright:      2018 Henri Verroken
license:        BSD3
license-file:   LICENSE
category:       Data Structures
build-type:     Simple
cabal-version:  >= 1.10
extra-source-files:
    README.md

source-repository head
  type: git
  location: https://github.com/hverr/intset-imperative

library
  exposed-modules:      Data.IntSet.Bounded.Imperative
  hs-source-dirs:       src
  build-depends:        base >=4.7 && <5
                      , deepseq
                      , primitive
  default-language:     Haskell2010
  ghc-options:          -Wall

test-suite intset-imperative-test-random
  type:                 exitcode-stdio-1.0
  main-is:              Spec.hs
  hs-source-dirs:       test-random
  build-depends:        base >=4.7 && <5
                      , intset-imperative
                      , mtl
                      , primitive
                      , random
                      , transformers
                      , unordered-containers
  default-language:     Haskell2010
  ghc-options:          -Wall -threaded -rtsopts -with-rtsopts=-N

test-suite intset-imperative-test-fixed
  type:                 exitcode-stdio-1.0
  main-is:              Spec.hs
  hs-source-dirs:       test-fixed
  build-depends:        base >=4.7 && <5
                      , intset-imperative
  default-language:     Haskell2010
  ghc-options:          -Wall -threaded -rtsopts -with-rtsopts=-N

benchmark intset-imperative-bench
  type:                 exitcode-stdio-1.0
  hs-source-dirs:       bench
  main-is:              Bench.hs
  build-depends:        base
                      , intset-imperative
                      , containers
                      , criterion
                      , random
                      , unordered-containers
                      , vector
  ghc-options:          -Wall -O2
  default-language:     Haskell2010