logoalt Hacker News

hmokiguess • today at 7:58 PM • 0 replies • view on HN

"All told, a monad in X is just a monoid in the category of endofunctors of X, with product × replaced by composition of endofunctors and unit set by the identity endofunctor."