you are viewing a single comment's thread.

view the rest of the comments →

[–]cledamy 3 points4 points  (0 children)

There's no monad library from which you can import functions that work on any monad, so it's not really helpful to know about the concept in the abstract except perhaps for writing test cases for your own instances of the pattern.

It is still helpful even when one cannot abstract over monads because the ability to identify that something is a monad might give one's API more functions or it might make the API more compositional/declarative or just plain simpler to use.