The arithmoi package

[ Tags: algorithms, library, math, mit, number-theory ] [ Propose Tags ]

A library of basic functionality needed for number-theoretic calculations. The aim of this library is to provide efficient implementations of the functions. Primes and related things (totients, factorisation), powers (integer roots and tests, modular exponentiation).


Change log Changes
Dependencies array (==0.5.*), base (>=4.7 && <5), containers (==0.5.*), exact-pi (>=, ghc-prim (<0.6), integer-gmp (<1.1), integer-logarithms (>=1.0), mtl (>=2.0 && <2.3), nats (>=1 && <1.2), random (>=1.0 && <1.2), semigroups (>=0.8) [details]
License MIT
Copyright (c) 2011 Daniel Fischer, 2016-2017 Andrew Lelechenko, Carter Schonwald
Author Daniel Fischer
Maintainer Carter Schonwald carter at wellposed dot com, Andrew Lelechenko andrew dot lelechenko at gmail dot com
Category Math, Algorithms, Number Theory
Home page
Bug tracker
Source repo head: git clone
Uploaded Mon Sep 18 06:19:32 UTC 2017 by Bodigrim
Updated Tue Dec 5 21:06:19 UTC 2017 by Bodigrim to revision 2   [What is this?]
Distributions LTSHaskell:, NixOS:, Stackage:, openSUSE:
Downloads 18199 total (276 in the last 30 days)
Rating 1.25 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-09-18 [all 1 reports]
Hackage Matrix CI





Replace unsafe array operations with safe ones


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


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

For package maintainers and hackage trustees