Level 2 — Intermediate
These lessons cover higher-order functions, folds, algebraic data types, records, Maybe and Either, type classes, Functor, Foldable, Applicative and Monad, IO and do-notation, laziness, modules, Data.Map and Data.Set, error handling, text and files, and cabal and Stack projects. Recommended: the Level 1 lessons, especially pattern matching, recursion, and lists.
Lessons in this module
- 1. Higher-Order Functions 6 min
- 2. Folds 6 min
- 3. Algebraic Data Types 7 min
- 4. Records 5 min
- 5. Maybe and Either 6 min
- 6. Type Classes 7 min
- 7. Defining Your Own Type Classes 6 min
- 8. Functor and Foldable 7 min
- 9. Applicative 6 min
- 10. Monads 8 min
- 11. IO and do-notation 6 min
- 12. Laziness 6 min
- 13. Modules 5 min
- 14. Data.Map and Data.Set 6 min
- 15. Error Handling 7 min
- 16. Text, Files, and Directories 6 min
- 17. Cabal and Stack Projects 7 min