News for hackers. Stuff that matters.
Re:Monads are a Class of Hard Drugs (2008) by csense on Saturday December 29, 2012 @03:55PM (#4983426)
I'm trying to parse this explanation. What's the difference between a monad and overriding __getattr__ in Python?
Re:Monads are a Class of Hard Drugs (2008) by chongli on Sunday December 30, 2012 @04:31AM (#4985241)
Apples and oranges. A monad is just an idea; that of storing computations as values. This is useful because these computations can be composed together in a manner not unlike that of a pipeline in shell scripting. Different monads define different ways of composing these computations leading to vastly different semantics.

Here's a nice video that explains monads fairly simply:

http://www.youtube.com/watch?v=ZhuHCtR3xq8