News for hackers. Stuff that matters.
Re:Swift Functors, Applicatives, and Monads in Pictures by merijnv on Wednesday July 15, 2015 @05:11AM (#9890390)
To be fair, I don't know a single person that explains things using

> "just a monoid in the category of endofunctors"

In fact, even among people who DO know the category theory necessary to understand this expression it's considered a very obtuse and useless explanation. Especially in the context of Haskell.

As for good readable introductions, I consider Wadler's paper "Monads for Functional Programming" to actually be a pretty good introduction. Another good intro is "You Could Have Invented Monads! (And Maybe You Already Have.)" http://blog.sigfpe.com/2006/08/you-could-have-invented-monad...

There are no comments on this comment yet.