This lecture gives a more refined pictorial understanding of the state monad, based on the idea of some parts being 'hidden' and some parts being 'visible'. It also shows how the state monad can be used in practice, by developing a monadic program to relabel a tree.
Course playlist: tinyurl.com/haskell-notts2
Негізгі бет AFP 9 - Monads III: State Revisited
Пікірлер: 1