Saturday, February 7, 2015

Does jQuery expose a monadic interface?

This content has moved permanently to:


Anonymous said...

While jQuery behaves a little like a monad it isn't one.

Mainly because you the your values can be accessed outside the monad and that it doesn't work on arbitrary types.

A good summary and other examples of why it isn't a monad:

Andrew said...

If you like JQuery like programming Ed Kmett wrote a library called Lenses (which aren't monads either):

Ed also helped dispel jQuery as a monad a few year ago:

Pam Selle said...

Re: this conversation, this was a good post:

Blog said...

Hi nice readingg your blog