The fast library for integer-to-digits conversion.

Version on this page:
LTS Haskell 18.28:
Stackage Nightly 2023-12-01:
Latest on Hackage:

See all snapshots fast-digits appears in

GPL-3.0-only licensed by Andrew Lelechenko
This version can be pinned in stack with:fast-digits-,1803

Module documentation for

Depends on 2 packages(full list with versions):

Convert an integer to digits and back. Usually this library is twice as fast as Data.Digits. For small bases and long numbers it may be up to 40 times faster.