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]




Maintainer's Corner

For package maintainers and hackage trustees


Versions [RSS] 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
Dependencies base (>=4.7 && <4.8) [details]
License MIT
Author Luis Rodrigues Soares
Category Math
Home page
Bug tracker
Source repo head: git clone
Uploaded by decomputed at 2015-03-07T12:36:39Z
Distributions NixOS:0.10.1
Downloads 7148 total (17 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-03-07 [all 1 reports]

Readme for euler-0.5.1

[back to package description]

Euler - Mathematics functions for Haskell.

Build Status

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

The current major version (0) is stable enough to be used for Project Euler problems. You can check usage of it in my project Euler repository.

You can also find this package in Hackage. If you want to build it locally, you'll need GHC, cabal and you should have happy and alex already available in your system. Checkout the code and then:

cabal sandbox init
cabal configure --only-dependencies --enable-tests
cabal build
cabal test

You can also run the code benchmarks with cabal bench.

Happy hacking! :-)