I am a beginner: I have read 1½ books on Haskell. I want to practice.

Haskell is a purely functional, lazily evaluated, strongly typed (with inference) language.

Project Euler is a set of problems combining mathematics and programming. Of the 500 problems published so far I have solved 25. For the easy problems, advanced math is easily avoided by using advanced CPUs; but (re)learning bits of math is fun too.

  • Solve some more problems
  • Write readable code
  • Follow a style guide
  • Document the libraries (with Haddock)
  • Have tests to catch bugs in refactoring. Try:
    • Doctest
    • HUnit
    • HSpec
    • QuickCheck (which was the tipping point for me to seriously try Haskell)
  • Benchmark
  • Profile
  • Package (with Cabal)

The result will be a public Git repository with code and a diary to summarize things learned.

Looking for mad skills in:

haskell euler learn language

This project is part of:

Hack Week 12

Activity

  • 2 months ago: osukup liked Learn Haskell on Project Euler problems
  • about 3 years ago: psimons liked Learn Haskell on Project Euler problems
  • over 4 years ago: aschnell liked Learn Haskell on Project Euler problems
  • over 4 years ago: mvidner started Learn Haskell on Project Euler problems
  • over 4 years ago: mvidner added keyword "language" to Learn Haskell on Project Euler problems
  • Show History

    Comments

    Be the first to comment!

    Similar Projects

    Write a simple ESMTP Mail Transport Agent in Haskell by psimons

    Theoretically, Haskell should be perfect for im...