Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 875 Bytes

File metadata and controls

33 lines (22 loc) · 875 Bytes

Project Euler in Haskell

DISCLAIMER

Real learning is an active process and seeing how it is done is a long way from experiencing that epiphany of discovery. Please do NOT just look at the solutions straight away.

Only the first one-hundred problems can be shared publicly. These also have a wealth of helpful introductory teaching material on the website itself.


How is this repository structured?

Every problem has their corresponding file (i.e. euler{xxx}.hs). For some problems there also exists a more optimal solution (i.e. euler{xxx}_o.hs). I try to explain the method I used to solve every problem.

How to get the solution?

I use GHCi to run every file.

ghci
> :l euler001.hs
> :main

You can also use :set +s to see the execution time of anything you run, along with memory usage.