@hackage euler0.8.0

Mathematics utilities for Haskell

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.

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! :-)