3 ms·
IMO the best intro to monads is You Could Have Invented Monads: http://blog.sigfpe.com/2006/08/you-could-have-invented-monads-and.html http://blog.sigfpe.com/2
by nandemo 15y ago
IMO the best intro to monads is You Could Have Invented Monads:
http://blog.sigfpe.com/2006/08/you-could-have-invented-monads-and.html http://blog.sigfpe.com/2006/08/you-could-have-invented-monad...
It starts from concrete examples, lets you write a few exercises, then it shows you the common pattern behind those examples.