News for hackers. Stuff that matters.
Re:Cancelable Promises: Why was this proposal withdrawn? by spion on Tuesday December 20, 2016 @05:34AM (#13218764)
Thats not the issue here. Even if the functions themselves are pure (beyond the act of creating a promise), the strictness of promises together with their micro-task queue rule impose execution ordering that make them a non-monad. So its impossible to write your functions in a way that the laws hold.

And if you can't use the laws for equational reasoning, then what good is it whether its a "monad" or not anyway?

There are no comments on this comment yet.