-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfast-digits.cabal
74 lines (69 loc) · 1.7 KB
/
fast-digits.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
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
name: fast-digits
version: 0.3.2.0
license: GPL-3
license-file: LICENSE
maintainer: [email protected]
author: Andrew Lelechenko
homepage: https://github.com/Bodigrim/fast-digits
synopsis: Integer-to-digits conversion.
description:
Convert an integer to digits and back.
This library is both asymptotically (O(n^1.4) vs. O(n^2))
and practically (2x-40x for typical inputs)
faster than "Data.Digits".
category: Data
build-type: Simple
cabal-version: 2.0
extra-doc-files:
changelog.md
README.md
tested-with:
GHC ==9.0.2 GHC ==9.2.8 GHC ==9.4.8 GHC ==9.6.6 GHC ==9.8.2 GHC ==9.10.1
source-repository head
type: git
location: git://github.com/Bodigrim/fast-digits.git
library
exposed-modules:
Data.FastDigits
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall -O2 -Wcompat
build-depends:
base >=4.15 && <5,
ghc-bignum <1.4,
fast-digits-internal
library fast-digits-internal
exposed-modules:
Data.FastDigits.Internal
hs-source-dirs: src-internal
default-language: Haskell2010
ghc-options: -Wall -O2 -Wcompat
build-depends:
base >=4.8 && <5
test-suite fast-digits-tests
type: exitcode-stdio-1.0
main-is: Tests.hs
hs-source-dirs: tests
default-language: Haskell2010
ghc-options: -Wall -Wcompat
build-depends:
base,
tasty <1.6,
tasty-quickcheck <0.12,
tasty-smallcheck <0.9,
QuickCheck <2.16,
smallcheck <1.3,
-- digits,
fast-digits,
fast-digits-internal
benchmark fast-digits-bench
type: exitcode-stdio-1.0
main-is: Bench.hs
hs-source-dirs: bench
default-language: Haskell2010
ghc-options: -Wall -O2 -Wcompat
build-depends:
base,
-- digits,
fast-digits,
tasty-bench >= 0.4 && <0.5