8 ms·
There are a limited subset of the jQuery core functions which function much like a monoid (though not strictly a monad), but the lack of strictness means that y
by rcoder 18y ago
There are a limited subset of the jQuery core functions which function much like a monoid (though not strictly a monad), but the lack of strictness means that you can escape the "monadic" container at any time. Utility functions, global assignments, etc., further compound the issue.
That being said, presenting monadic designs in this fashion could well help understand the basics, which is to be applauded.