Hacker News new | past | comments | ask | show | jobs | submit login

While there might be some structural similarity of function chaining to bind operators in Haskell, jQuery isn't a monad. The burden of proof for being a monad is explicitly demonstrating adherence to the monad laws. To quote prolific Haskeller Don Stewart "I am pretty skeptical that the jQuery API as a whole could satisfy the monad laws".



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: