euler: Mathematics utilities for Haskell

[ library, math, mit ] [ Propose Tags ] [ Report a vulnerability ]

Mathematics utilities and functions for Haskell, currently aimed at solving problems in Project Euler.


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

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 changelog.md
Dependencies base (>=4.7 && <4.8) [details]
License MIT
Author Luis Rodrigues Soares
Maintainer luis@decomputed.com
Category Math
Home page https://github.com/decomputed/euler
Bug tracker https://github.com/decomputed/euler/issues
Source repo head: git clone https://github.com/decomputed/euler
Uploaded by decomputed at 2015-03-07T16:50:55Z
Distributions NixOS:0.10.1
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 7738 total (32 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 https://github.com/decomputed/euler.git
cd euler
cabal sandbox init
cabal install happy
cabal install --only-dependencies --enable-tests --enable-benchmarks
cabal build
cabal test
cabal bench

Happy hacking! :-)