> That's why the pattern is so useful in the first place
How useful, really? Monads don't even universally compose, which is what most people sell the concept for.
How useful, really? Monads don't even universally compose, which is what most people sell the concept for.
It basically allows you to pipe successive function calls returning different types by lifting these types into a monad.
Don't get me wrong, that promise is very powerful and in the rare few cases where it works, it unlocks beautiful composition, but the simple truth is that monads are really not that useful outside of Haskell (and I'd say, it's even questionable within).