Hero roadmap: the whole course on one page

All 50 lessons

Fifty Haskell lessons, five stages. Start at lesson one and move forward in order: every page ends with a link to the next one. The whole map is below, so you can also jump straight to the topic that brought you here.

Start: 01-10

Language core: 11-20

Types and abstractions: 21-30

Effects and tooling: 31-40

Real programs: 41-50

How to practice

Read one lesson, type every snippet by hand, then break it on purpose and read the compiler error. The error messages are the fastest teacher in the language, and they get better the more you provoke them.

Keep the loop tight: write the signature, write the body, compile, fix the first error only. When a definition refuses to typecheck for more than twenty minutes, replace the body with undefined and check the signature in GHCi with :t.

The capstone, revisited

The todo CLI from lesson 49 is a skeleton for a larger project. Each of these extensions uses a different part of the course, and none of them requires a new idea:

Where to go next

Four directions continue naturally from here. Pick the one that matches the program you want to write, not the one that looks most advanced:

-- web services: servant, warp, wai, aeson -- data and streaming: conduit, streaming, vector, cassava -- effects and architecture: mtl, transformers, effectful, polysemy -- correctness: property tests, liquidhaskell, formal methods

Two books carry the next stage well: Real World Haskell for breadth and Haskell in Depth for production concerns. The Development section has neighbouring courses if you want a second language to compare against.

Rebuild the capstone from memory without reopening lesson 49. Then extend it with one item from the list above and keep the tests green at every step. The course ends; the practice does not.

This page has no runnable code: it is a map of the course and a list of libraries to learn next.

Article author: Arthur Isaev