by jcranmer · 4y ago · 0 comments
It's so because monads follow the exact same pattern by definition, but the different types of monads just inject some additional behaviour and constraints as well.
Different patterns from this are no longer monadic.
The "magic" part of this is why different types of monads don't compose well.
Of course, this is overly simplified but might help for understanding.
https://askubuntu.com/questions/172982/what-is-the-differenc...