The arithmoi package

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.



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), integer logarithms. Note: Requires GHC >= 6.12 with the integer-gmp package for efficiency. Portability is on the to-do list (with low priority, however).


Change logChanges
Dependenciesarray (>=0.3 && <0.6), base (==4.*), containers (>=0.3 && <0.6), ghc-prim (<0.5), integer-gmp (<1.1), mtl (>=2.0 && <2.3), random (>=1.0 && <1.2) [details]
Copyright(c) 2011 Daniel Fischer
AuthorDaniel Fischer
MaintainerCarter Schonwald carter at wellposed dot com
CategoryMath, Algorithms, Number Theory
Home page
Bug tracker
Source repositoryhead: git clone
UploadedThu Jul 2 04:25:38 UTC 2015 by CarterSchonwald




llvmCompile the library with the LLVM backendDisabledManual

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


Maintainers' corner

For package maintainers and hackage trustees