Teaching Haskell goes badly when it starts with theory and well when it starts with a working program the learner can poke at. Your job in the first weeks is not to explain monads; it is to keep the feedback loop short, keep the examples tiny, and let the type checker do the correcting. Here is a rhythm that works with almost any motivated beginner.
Begin by reading code together, not writing it
Open a short file, maybe twenty lines, and read it aloud line by line, asking the learner to guess what each function does before you say anything. Reading real code removes the blank-page panic and teaches notation passively. Only after they can predict a function’s behavior should they type one themselves.
Choose examples with obvious inputs and outputs: reversing a list, counting words, formatting a name. Skip anything involving IO until the pure part feels natural.
Turn types into everyday language
For each signature, have the learner say it out loud as a sentence. Int -> String becomes “give me a number, I give you text.” [a] -> Int becomes “give me a list of anything, I give you a count.” This single habit prevents most beginner confusion, because it converts symbols into something they already understand.
Once the sentences flow, the arrow rule — the last thing in the line is the result — stops needing explanation.
Pair on exercises small enough to finish in ten minutes
Long exercises let a beginner stall quietly. Instead, set a goal like “write a function that returns the second element of a list, or a default if there isn’t one,” and work on it together. You type, they direct; then swap. The swap matters, because watching someone else solve your problem builds no skill.
- One new concept per session, never two.
- Let them hit the compiler error first, then ask what it says.
- End every session with something that runs.
What to hold back for later
Skip functors, monad transformers, and language extensions in the first month. Skip point-free style until the learner writes it by accident. Skip installing a complex project scaffold until a single file feels limiting. Every one of these is easier to absorb once the learner has working code that would benefit from it.
Questions teachers ask
How do I know they are ready for monads?
When they have written several functions that return Maybe or Either and started wishing for a cleaner way to chain them. That frustration is the right entry point.
What if they keep asking why?
Answer briefly and return to code. “Because the type says so” is a complete answer early on; deeper justification is easier to accept after the pattern is familiar.
Keep sessions short, examples smaller than you think necessary, and the feedback loop tight. A beginner who finishes something every week will outlast one who understands more theory and builds nothing.