This content has moved permanently to:
https://blog.jonm.dev/posts/does-jquery-expose-a-monadic-interface/
Saturday, February 7, 2015
Subscribe to:
Post Comments (Atom)
The Art of Writing Software
This content has moved permanently to:
https://blog.jonm.dev/posts/does-jquery-expose-a-monadic-interface/
All articles Copyright © 2007-2019 by Jon Moore. All rights reserved.
4 comments:
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: http://www.quora.com/Is-jQuery-a-monad
If you like JQuery like programming Ed Kmett wrote a library called Lenses (which aren't monads either):
https://wiki.haskell.org/LensBeginnersCheatsheet
Ed also helped dispel jQuery as a monad a few year ago:
http://www.reddit.com/r/haskell/comments/ive1n/you_got_your_type_class_in_my_jquery_applicative/c26y5oj
http://blog.jorgenschaefer.de/2013/01/monads-for-normal-programmers.html
Re: this conversation, this was a good post:
http://walpurgisriot.github.io/blog/2013/12/03/the-monad-was-inside-you-all-along.html
Hi nice readingg your blog
Post a Comment