3 ms·
"Learn you a Haskell for great good" is probably the most approachable book on the subject you can read it online for free. People who are confused should defi
by NathanRice 15y ago
"Learn you a Haskell for great good" is probably the most approachable book on the subject you can read it online for free.
People who are confused should definitely check it out.
- jerf 15y agoYes, 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.