euler: Mathematics utilities for Haskell

[ library, math, mit ] [ Propose Tags ]

Mathematics utilities and functions for Haskell, currently aimed at solving problems in Project Euler.


[Skip to Readme]
Versions [faq] 0.1.0, 0.2.2, 0.3.0, 0.3.3, 0.4.0, 0.5.1, 0.6.0, 0.7.0, 0.8.0, 0.8.2, 0.9.2, 0.10.1
Change log changelog.md
Dependencies base (>=4.1 && <5) [details]
License MIT
Author Luis Rodrigues Soares
Maintainer luis@luisonthekeyboard.com
Category Math
Home page https://github.com/luisonthekeyboard/euler
Bug tracker https://github.com/luisonthekeyboard/euler/issues
Source repo head: git clone https://github.com/luisonthekeyboard/euler
Uploaded by luisonthekeyboard at 2020-05-25T14:42:17Z
Distributions NixOS:0.10.1
Downloads 6235 total (3 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2020-05-25 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for euler-0.10.1

[back to package description]

Euler - Mathematics functions for Haskell.

Build Status

What is this?

This repo contains functions to help in mathematics calculations or puzzles using Haskell. Currently there is only one module, Numeric.Euler.Primes, which contains implementations of three prime number sieves:

The current major version (0) is stable enough to be used for some Project Euler problems but keep in mind that the sieves are not optimized at all.

You can also find this package in Hackage.

Dependencies and building

To install the library you just need the latest base. Just cabal install euler from you project or add euler as a dependency to your .cabal file and you should be good to go.

If you want to build the library locally, you'll need a few more things:

Building with cabal

You'll need:

  • GHC >= 8.6
  • cabal-install >= 3.*

cabal will take care of installing all the other dependencies.

git clone https://github.com/luisonthekeyboard/euler.git
cd euler
cabal build
cabal test

Happy hacking! :-)