I've read a lot of posts that explain what monads are, how unit and bind work, some of them plunging straight into category theory so abstract (for me at least) that makes the eyes bleed, some ignoring that altogether and touching on weird analogies of burritos, boxes and what not. After a few weeks of study and a lot of fried neurons, (I think) I understand how Monads work. But there is still one thing that escapes my understanding, something that few posts actually touch on (except for IO and state):WHY?Why do Monads matter? Why are they so important? What's the problems they are solving? Can those problems only be solved with Monads or are there some other ways?
What programming problems do Monads solve?
functional programming;problem solving;monad