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]

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-07T12:36:39Z
Distributions NixOS:0.10.1
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 7516 total (39 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.5.1

[back to package description]

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