fast-digits-0.3.0.0: fast-digits.cabal
name: fast-digits
version: 0.3.0.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-source-files:
changelog.md
README.md
tested-with:
GHC ==7.10.3 GHC ==8.0.2 GHC ==8.2.2 GHC ==8.4.4 GHC ==8.6.5 GHC ==8.8.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
build-depends:
base >=4.8 && <5,
integer-gmp >=1.0,
fast-digits-internal
library fast-digits-internal
exposed-modules:
Data.FastDigits.Internal
hs-source-dirs: src-internal
default-language: Haskell2010
ghc-options: -Wall
build-depends:
base >=4.8 && <5,
integer-gmp >=1.0
test-suite tests
type: exitcode-stdio-1.0
main-is: Tests.hs
hs-source-dirs: tests
default-language: Haskell2010
ghc-options: -Wall
build-depends:
base,
tasty,
tasty-quickcheck,
tasty-smallcheck,
QuickCheck,
smallcheck,
digits,
fast-digits,
fast-digits-internal
benchmark bench
type: exitcode-stdio-1.0
main-is: Bench.hs
hs-source-dirs: bench
default-language: Haskell2010
ghc-options: -O2
build-depends:
base,
digits,
fast-digits,
gauge