3 ms·
Yes, it is by far the best way to learn what monadic really means. http://learnyouahaskell.com/chapters http://learnyouahaskell.com/chapters is the book, but if
by jerf 15y ago
Yes, it is by far the best way to learn what monadic really means. http://learnyouahaskell.com/chapters http://learnyouahaskell.com/chapters is the book, but if you already understand basic Haskell syntax, you can start at Chapter 11, Functors: http://learnyouahaskell.com/functors-applicative-functors-and-monoids http://learnyouahaskell.com/functors-applicative-functors-an...
Yes, it's a bit long, but it actually works, and, what's more, unlike the vast majority of monad tutorials written by someone who just sort of half figured out the concept half-an-hour ago (but they really didn't), it is also correct. This is one of the major root causes behind people's general inabilities to "understand monads after reading tons of tutorials", the tutorials are not only generally not very good but often wrong and mutually contradictory.
- orblivion 15y agoOh sorry, yes I forgot that they were in two different sections. Definitely read the one about Functors before you get into Monads.