The Paradox of Partial Parametricity

Brendan Eich brendan at mozilla.com
Fri May 24 21:16:45 PDT 2013


Tab Atkins Jr. wrote:
> Yeah, that's right, but like I keep saying, that means that "thenable
> promises" and "chainable promises" are no longer interoperable without
> ugly helpers - a chainable promise might stack promises (doing
> {value:{value:{value:foo}}}), and if you call .then() on it, you end
> up receiving that ugly stacked object, rather than the "foo" that you
> want.

Yup. AP3 is deficient in this way, AP2 is not.

/be


More information about the es-discuss mailing list