|
|
|
|
|
by 4ad
354 days ago
|
|
Learning category theory to the level of understanding monads should take half an hour at most, and would constitute real understanding of what a monad is, versus this C++ explanation which is handwavy even in terms of C++. C++ can't even encode monads accurately! But one doesn't even need to learn category theory. I assume that everybody has learned abstract algebra in high school, monoid, rings, groups, vector spaces and all that. A monad is just another kind of a structure like that. If you have studied abstract algebra in school then it should take 5 seconds to read the definition of a monad, a minute to understand it, and perhaps 10 minutes to see how various things such as errors or lists form monads. Learning category theory, or indeed any sort of math from Wikipedia is an absolute futile endeavour. |
|
Over the years I've spent many hours trying to make any sense of monads with varying degrees of success. But mostly not.
Your assertions do not seem consistent with reality as I've observed it.