@hackage euler0.5.1

Mathematics utilities for Haskell

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