Project Euler in Haskell. SPOILERS!
Haskell Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Euler1.hs
Euler10.hs
Euler11.hs
Euler12.hs
Euler13.hs
Euler14.hs
Euler15.hs
Euler16.hs
Euler17.hs
Euler18.hs
Euler19.hs
Euler2.hs
Euler20.hs
Euler21.hs
Euler22.hs
Euler23.hs
Euler24.hs
Euler25.hs
Euler26.hs
Euler28.hs
Euler29.hs
Euler3.hs
Euler30.hs
Euler31.hs
Euler32.hs
Euler33.hs
Euler34.hs
Euler35.hs
Euler36.hs
Euler37.hs
Euler4.hs
Euler40.hs
Euler41.hs
Euler42.hs
Euler43.hs
Euler45.hs
Euler46.hs
Euler47.hs
Euler48.hs
Euler5.hs
Euler50.hs
Euler51.hs
Euler52.hs
Euler56.hs
Euler57.hs
Euler58.hs
Euler6.hs
Euler61.hs
Euler7.hs
Euler8.hs
Euler9.hs
Primes.hs
README.md
run.sh

README.md

Project Euler in Haskell

Warning: spoilers

This is my attempt at learning Haskell from first principles. I deliberately (also a bit out or laziness) am not using standard functions, which I am sure exist for much of what I'm doing. I'm also not trying to be too clever; for example, there is a simple closed-form formula for problem 1 which I didn't apply because that wouldn't help me learn Haskell.

Operating instructions: run.sh <problem-number> compiles (using GHC) and runs the given program.