integer-conversion: Conversion from strings to Integer

[ bsd3, data, library ] [ Propose Tags ]

The naive foldl' (acc d -> acc * 10 + d) 0 is expensive (quadratic!) for large Integers. This package provides sub-quadratic implementation.

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.1.0.1
Change log ChangeLog.md
Dependencies base (>=4.9.0.0 && <4.20), bytestring (>=0.10.8.1 && <0.11 || >=0.11.4.0 && <0.12 || >=0.12.0.2 && <0.13), primitive (>=0.8.0.0 && <0.9 || >=0.9.0.0 && <0.10), text (>=1.2.3.0 && <1.3 || >=2.0.1 && <2.2) [details]
License BSD-3-Clause
Copyright (c) 2023 Oleg Grenrus
Author Oleg Grenrus <oleg.grenrus@iki.fi>
Maintainer Oleg.Grenrus <oleg.grenrus@iki.fi>
Revised Revision 1 made by phadej at 2023-10-15T16:35:36Z
Category Data
Home page https://github.com/phadej/integer-conversion
Bug tracker https://github.com/phadej/integer-conversion/issues
Source repo head: git clone https://github.com/phadej/integer-conversion.git
Uploaded by phadej at 2023-10-04T11:22:33Z
Distributions LTSHaskell:0.1.0.1, NixOS:0.1.0.1, Stackage:0.1.0.1, openSUSE:0.1.0.1
Reverse Dependencies 5 direct, 7745 indirect [details]
Downloads 1683 total (236 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-10-04 [all 1 reports]