Category Theory for Promises/A+
brianmckenna.org
brianmckenna.org
The current proposed API is full of corner cases, justified on the basis that providing a single method, `then`, is simple. Unfortunately this is too simple, hence the corner cases.
Unfortunately it seems the people in charge of the promise spec are not open to change, or even to rational argumentation. If you want to see some really pathetic behavior read this thread: https://github.com/promises-aplus/promises-spec/issues/94