IA014 Advanced Functional Programming

Lecture VI - Monads

Lecture dates

23. 4. 2018, 30. 4. 2018

Reading

P. Wadler: Monads for functional programming. Marktoberdorf 1992.  [PDF]

Great introduction to monads. The "monad tutorial" part of the lecture was adapted from this paper. Highly recommended, even though it's more than 20 years old.

The Typeclassopedia [haskellwiki]

Read this! Functors, applicative functors and more.

All About Monads [haskellwiki]

D. Piponi: You Could Have Invented Monads! (And Maybe You Already Have.)

Relevant book chapters

(I suggest you start with LYAH).

Chyba: Odkazovaný objekt neexistuje nebo nemáte právo jej číst.
https://is.muni.cz/el/1433/jaro2018/IA014/um/06-monads.pdf
Code for lecture 06 - Monads.
Examples using standard library monads.