# Euler - Mathematics functions for Haskell. [![Build Status](https://travis-ci.org/decomputed/euler.svg?branch=master)](https://travis-ci.org/decomputed/euler) ## 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: - [Sieve of Erastothenes](https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes) - [Sieve of Sundaram](https://en.wikipedia.org/wiki/Sieve_of_Sundaram) - [Sieve of Atkin](https://en.wikipedia.org/wiki/Sieve_of_Atkin) The current major version (0) is stable enough to be used for Project Euler problems. You can also find this package [in Hackage](http://hackage.haskell.org/package/euler). ## Dependencies - GHC 7.8 - `cabal-install` 1.22 - `happy` ## How to build? git clone https://github.com/decomputed/euler.git cd euler cabal sandbox init cabal install happy cabal install --only-dependencies --enable-tests --enable-benchmarks --enable-library-coverage cabal build cabal test cabal bench Happy hacking! :-)