|
|
|
|
|
by i2talics
44 days ago
|
|
I've long suspected that one of the things that makes monads notoriously difficult to explain to people outside of the Haskell ecosystem is that very few other languages even have a kind system that you are allowed to manipulate in code (and in some, like C++, it's so esoteric that you basically never see it). First explaining that you can even abstract over "type->type" kinded things gets you a lot of the way towards monads without actually describing monads. |
|
Huh, I thought a monad is just a monoid in the category of endofunctors, what's the problem?