3 ms·
Hey, jQuery's just a monad. It would be easy to express in Haskell :) [Also: if you have used jQuery, you've used a monad. They aren't scary!]
by noelwelsh 15y ago
Hey, jQuery's just a monad. It would be easy to express in Haskell :)
[Also: if you have used jQuery, you've used a monad. They aren't scary!]
- swannodette 15y agojQuery is not a monad. http://www.quora.com/Is-jQuery-a-monad http://www.quora.com/Is-jQuery-a-monad
- ezy 15y agoAs far as I can tell, this rebuttal... isn't. The author just completely misread the original argument. EDIT: Example: "in particular, how a monad must be capable of "wrapping" (their terminology) arbitrary datatypes, not just one particular datatype" Yet it was very clear the author was talking about wrapping arbitrary types and IO String was a single example. And it goes on...