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-07T16:50:55Z
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.6.0

[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, Primes, which contains implementations of three sieves:

The current major version (0) is stable enough to be used for Project Euler problems.

You can also find this package in Hackage.

How to build?

If you want to build it locally, you'll need GHC and cabal. You'll also need happy though you don't need to have it globally. Here's how you can do it:

git clone
cd euler
cabal sandbox init
cabal install happy
cabal install --only-dependencies --enable-tests --enable-benchmarks
cabal build
cabal test
cabal bench

Happy hacking! :-)