File: intervals.cabal

package info (click to toggle)
haskell-intervals 0.9.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 160 kB
  • sloc: haskell: 1,517; makefile: 2
file content (80 lines) | stat: -rw-r--r-- 2,281 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
name:              intervals
version:           0.9.3
synopsis:          Interval Arithmetic
description:
  A 'Numeric.Interval.Interval' is a closed, convex set of floating point values.
  .
  We do not control the rounding mode of the end points of the interval when
  using floating point arithmetic, so be aware that in order to get precise
  containment of the result, you will need to use an underlying type with
  both lower and upper bounds like 'CReal'
homepage:           http://github.com/ekmett/intervals
bug-reports:        http://github.com/ekmett/intervals/issues
license:            BSD3
license-file:       LICENSE
author:             Edward Kmett
maintainer:         ekmett@gmail.com
category:           Math
build-type:         Simple
cabal-version:      >=1.10
tested-with:        GHC == 8.0.2
                  , GHC == 8.2.2
                  , GHC == 8.4.4
                  , GHC == 8.6.5
                  , GHC == 8.8.4
                  , GHC == 8.10.7
                  , GHC == 9.0.2
                  , GHC == 9.2.8
                  , GHC == 9.4.8
                  , GHC == 9.6.6
                  , GHC == 9.8.4
                  , GHC == 9.10.1
extra-source-files:
  .hlint.yaml
  CHANGELOG.markdown
  README.markdown

source-repository head
  type: git
  location: git://github.com/ekmett/intervals.git

flag herbie
  default: False
  manual: True

library
  hs-source-dirs: src

  exposed-modules:
    Numeric.Interval
    Numeric.Interval.Exception
    Numeric.Interval.Internal
    Numeric.Interval.Kaucher
    Numeric.Interval.NonEmpty
    Numeric.Interval.NonEmpty.Internal

  build-depends:
    array          >= 0.3   && < 0.6,
    base           >= 4.9   && < 5,
    distributive   >= 0.2   && < 1,
    ghc-prim

  ghc-options:     -Wall -O2

  if flag(herbie)
    build-depends: HerbiePlugin >= 0.1 && < 0.2
    cpp-options: -DHERBIE
    ghc-options: -fplugin=Herbie

  default-language: Haskell2010
  x-docspec-options: --check-properties
  x-docspec-property-variables: i x y xs ys

test-suite doctests
  type:           exitcode-stdio-1.0
  main-is:        doctests.hs
  ghc-options:    -Wall -threaded
  hs-source-dirs: tests
  build-depends:  base >= 4.9 && < 5
                , QuickCheck >=2.14.2
  default-language: Haskell2010