Sunday, October 11, 2009

understanding monads - thanks to jQuery

In my previous post I wrote about jQuery:

...if you simply wrap the "this" keyword with $(), it magically somehow becomes a jQuery object...


I was taking a short break from watching Bathurst and googling monads again... when I came across this great blog post. It turns out that the magical things I love about jQuery are a monad!

I feel like I'm a little bit closer to understanding monads now, and I'm happy to have a name to describe the magic I was using without knowing what it was.

Go Lowndesy!

0 comments: