[Haskell-cafe] Explaining monads

Dan Piponi dpiponi at gmail.com
Tue Aug 14 12:59:21 EDT 2007

On 8/14/07, Sebastian Sylvan <sebastian.sylvan at gmail.com> wrote:
> I like the very light weight analogy (which works for most practical
> uses of monads) that a monadic action is a "recipe"

Many introductory programming books present the idea of a program as a
recipe. Here's a recipe for computing factorials:

fact 0 = 1
fact n = n*fact (n-1)

Where do monads come in?

More information about the Haskell-Cafe mailing list