-
Notifications
You must be signed in to change notification settings - Fork 11
/
Decimal.cabal
48 lines (46 loc) · 1.67 KB
/
Decimal.cabal
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
Name: Decimal
Version: 0.5.2
License: BSD3
License-file: LICENSE.txt
Copyright: Paul Johnson, 2013, 2018, 2021.
Author: Paul Johnson
Maintainer: [email protected]
Stability: beta
Category: Math
Cabal-version: 1.18
Build-type: Simple
Synopsis: Decimal numbers with variable precision
Description: A decimal number has an integer mantissa and a negative
exponent. The exponent can be interpreted as the number
of decimal places in the value.
tested-with: GHC==8.2.2, GHC==8.10.4
homepage: https://github.com/PaulJohnson/Haskell-Decimal
extra-doc-files: LICENSE.txt, README.md, changelog.md
library
build-depends:
base >= 4 && < 5,
deepseq
hs-source-dirs: src
if impl(ghc >= 7.0.0)
default-language: Haskell2010
ghc-options: -Wall
exposed-modules: Data.Decimal
test-suite Main
type: exitcode-stdio-1.0
x-uses-tf: true
build-depends:
base >= 4 && < 5,
HUnit >= 1.2 && < 2,
QuickCheck >= 2.4,
test-framework >= 0.4.1,
test-framework-quickcheck2,
test-framework-hunit,
deepseq
ghc-options: -Wall -rtsopts
hs-source-dirs: src, src/Data, tests
-- The following lines trigger a bug in Hackage. Uncommment for compilation on GHC 6.
-- if impl(ghc >= 7.0.0)
-- default-language: Haskell2010
default-language: Haskell2010
main-is: Main.hs
other-modules: Data.Decimal