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]
Versions [faq] 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
Change log changelog.md
Dependencies base (==4.7.*) [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 Sat Mar 7 16:50:55 UTC 2015
Distributions NixOS:0.9.2
Downloads 3570 total (19 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2015-03-07 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


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