monad #algebra #category_theory Definition A monad is a monoid in the category of endofunctors #incomplete References https://en.wikipedia.org/wiki/Monad_(category_theory) https://ncatlab.org/nlab/show/monad https://typelevel.org/cats/typeclasses/monad.html