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 hackers with the skills:

haskell euler learn language

This project is part of:

Hack Week 12

Activity

  • over 6 years ago: osukup liked this project.
  • over 9 years ago: psimons liked this project.
  • over 10 years ago: aschnell liked this project.
  • over 10 years ago: mvidner started this project.
  • over 10 years ago: mvidner added keyword "haskell" to this project.
  • over 10 years ago: mvidner added keyword "euler" to this project.
  • over 10 years ago: mvidner added keyword "learn" to this project.
  • over 10 years ago: mvidner added keyword "language" to this project.
  • over 10 years ago: mvidner originated this project.

  • Comments

    Be the first to comment!

    Similar Projects

    GHC-9.14 and split Hadrian from GHC build by osukup

    Description

    Prepare openSUSE Tumbleweed project for new GHC Haskell compiler and separate builder (Hadrian) from GHC build

    Goals

    • have GHC-9.14 project with working compiler and if possible filled with packageset
    • have Hadrian in own package built with bootstrap compiler to separate Hadrian bootstrap from ghc bootstrap

    Resources

    devel:languages:haskell

    d:l:h:ghc-9.12.x

    opensuse Haskell rpm macros

    opensuse haskell package gen project


    Learn hot air soldering for GBA-CPU and RAM transplant by robert.richardson

    Description

    I want to practice hot‑air soldering to then transplant a Game Boy Advance CPU and RAM from a damaged unit onto a new "custom" motherboard.

    Goals

    I want to first learn the hot air soldering fundamentals by removing a couple of components from already broken electronics.

    My final goal for the project would be to de-solder the CPU/RAM units of a damaged Game Boy Advance motherboard and re-solder them onto a new "custom" one.

    If anyone here wants to also try hot-air-soldering, feel free to come by the NBG office. I plan to do this on Tuesday and/or maybe Wednesday. If you would like to join but are only able to on another day, let me know.

    Resources

    I basically already have everything needed, except maybe for the broken electronics to test on, but i'm sure i'll find something until Hackweek starts.

    Equipment

    • Hot air soldering gun
    • Normal soldering iron
    • Solder, Flux, Sponge, De-solder, etc..

    Components

    • Old GBA Motherboard with working CPU & RAM
    • New GBA Motherboard
    • New GBA Case, Buttons, etc.