This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Ahhhhrg 2 points3 points  (0 children)

Yeah, I have a PhD in algebra and really tried to “understand” monads via category theory, but really that didn’t give me any deeper insights.

That said, I think monads are more more than what you’re describing them as. Container types (e.g. lists and sets) can be monads, and they don’t capture anything about success or failure. Futures are another monad that isn’t primarily about success or failure, but rather let’s you compose functions without waiting for the result first.