fast-digits-0.3.2.0: fast-digits.cabal
name: fast-digits
version: 0.3.2.0
license: GPL-3
license-file: LICENSE
maintainer: andrew.lelechenko@gmail.com
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.5 GHC ==9.6.2
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.5,
tasty-quickcheck <0.11,
tasty-smallcheck <0.9,
QuickCheck <2.15,
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.2.4 && <0.4