I didn't add monadic sugar just to be part of the "cargo cult". I added it because I'm eventually going to use it to implement an automatic continuation-passing transform. I've done a similar thing before with ClojureScript's macros:
http://lambda-the-ultimate.org/node/4117
http://ocaml.janestreet.com/?q=node/100
http://en.wikibooks.org/wiki/F_Sharp_Programming/Async_Workf...
This is something that JavaScript desperately needs.
Macros aren't so nice for this stuff in non-homoiconic languages.
I think that finding ways to notate asynchronous code cleanly is a pretty awesome goal, and I hope you find success in your project.
However, if you'll take a look at the example monad code, the bind and return methods themselves use side effects. I think that speaks for itself.
My issue is with the use of monads in particular, and I think my comment pretty well communicates that it's solely about that. I don't think it conveys a false impression about Roy as a whole at all.
Your statement that my comment "can at best be seen as attention-seeking behavior and at worst as an underhanded FUD tactic to turn people off the project" is just absolutely ridiculous. I have nothing against the project Roy, and I wish it nothing but success. Why would I possibly have any motivation to use underhanded FUD tactics to turn people off the project? And I don't even know what to say to your accusation of attention-seeking behavior. In what world is initiating a productive discussion about an important issue, and not in a self-promoting way at all, "attention-seeking behavior"? Get off your high horse.
A toy example is not an important issue. As for initiating productive discussions, I will let your comments speak for themselves
1. This is cargo cult programming at its worst
2. What drove you to unleash this horror on the programming masses, Moggi?
3. Why have you cursed us so?
4. It makes me sad that having monad sugar ....
5. .... stripped of all utility and sense.
How is a discussion not productive just because it's not framed in the most formal language possible?
Especially when that language has unrestricted side effects and the example code using the monad syntax uses those side effects, completely obviating the need for, and in fact rendering useless, monads as used in the example.
This is cargo cult programming at its worst. Including monad sugar because it's the thing to do, without even understanding what monads are or why they're useful. This is quite clear from the "tracing monad" example code. This "tracing monad" is like the Writer monad, stripped of all utility and sense.
What drove you to unleash this horror on the programming masses, Moggi? Why have you cursed us so?