I'm trying to understand well known phrase A monad is just a monoid in the category of endofunctors
and map some category theory concepts to cats
library.
There is a MonoidK
typeclass in cats
and it's polymorphic on combineK
method. So one instance of this typeclass looks like monoid in the category of endofuctors if we parametrize it with functor.
What is the difference between MonoidK
and Monad
in terms of category theory if we assume that we can parametrize MonoidK
only by functors?