cabal-version: 2.2 name: integer-conversion version: 0.1.0.1 x-revision: 1 synopsis: Conversion from strings to Integer category: Data description: The naive @foldl' (\acc d -> acc * 10 + d) 0@ is expensive (quadratic!) for large @Integer@s. This package provides sub-quadratic implementation. homepage: https://github.com/phadej/integer-conversion bug-reports: https://github.com/phadej/integer-conversion/issues license: BSD-3-Clause license-file: LICENSE author: Oleg Grenrus maintainer: Oleg.Grenrus copyright: (c) 2023 Oleg Grenrus build-type: Simple extra-source-files: ChangeLog.md tested-with: GHC ==8.0.2 || ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.7 || ==9.6.3 || ==9.8.1 source-repository head type: git location: https://github.com/phadej/integer-conversion.git library default-language: Haskell2010 hs-source-dirs: src exposed-modules: Data.Integer.Conversion build-depends: , base >=4.9.0.0 && <4.20 , bytestring ^>=0.10.8.1 || ^>=0.11.4.0 || ^>=0.12.0.2 , primitive ^>=0.8.0.0 || ^>=0.9.0.0 , text ^>=1.2.3.0 || ^>=2.0.1 || ^>=2.1 test-suite integer-conversion-tests default-language: Haskell2010 hs-source-dirs: tests src-other type: exitcode-stdio-1.0 main-is: integer-conversion-tests.hs build-depends: , base , bytestring , integer-conversion , text -- test dependencies build-depends: , QuickCheck ^>=2.14.3 , tasty ^>=1.4.3 || ^>=1.5 , tasty-quickcheck ^>=0.10.2 other-modules: Alternative Naive benchmark integer-conversion-bench default-language: Haskell2010 ghc-options: -threaded -rtsopts type: exitcode-stdio-1.0 main-is: integer-conversion-bench.hs hs-source-dirs: bench src-other build-depends: , base , bytestring , integer-conversion , text -- bench dependencies build-depends: tasty-bench ^>=0.3.4 other-modules: Alternative Naive