¡@

Home 

2014/10/16 ¤W¤È 12:04:40

jquery Programming Glossary: laws

Is jQuery a monad

http://stackoverflow.com/questions/10496932/is-jquery-a-monad

a monad jquery functional programming monads share improve this question Most APIs do not satisify the monad laws. jQuery is a large API so statistically it is unlikely to be accidentally monadic. As a result I am pretty skeptical that.. to be accidentally monadic. As a result I am pretty skeptical that the jQuery API as a whole could satisfy the monad laws i.e. that jQuery is a monad . This doesn't mean that a given very restricted subset might not satisfy them but the API as.. subset might not satisfy them but the API as a whole is likely to contain unsafe operations that would violate the laws when used breaking the abstraction. Since no one seems to have offered evidence that the API in whole or part satisifies..

Changing Img Src based on value entered in a Textfield

http://stackoverflow.com/questions/10792207/changing-img-src-based-on-value-entered-in-a-textfield