Best explanation of monads I’ve seen yet

I stumbled on this today. I don’t know why, but I’ve always had a block over what the word “monad” actually means, and how the bind and return operations map to that meaning.

In the linked StackOverflow post, there is a single sentence that fixes the problem:

An alternative term is computation builder which is a bit more descriptive of what they are actually useful for.

Ah-ha! The rest of the post is made up of some great examples. Go read if you’re as confused as I was.

Leave a Reply

Entries (RSS)