I have an implementation in Typescript/ES5 at 
https://github.com/rbuckton/promisejs/tree/master/Variations with a test suite 
that can be run from node.

Ron

Sent from my Windows Phone
________________________________
From: Kevin Smith<mailto:[email protected]>
Sent: ‎4/‎26/‎2013 11:47 AM
To: Juan Ignacio Dopazo<mailto:[email protected]>
Cc: Brendan Eich<mailto:[email protected]>; Mark S. 
Miller<mailto:[email protected]>; Douglas 
Crockford<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>; Norbert 
Lindenberg<mailto:[email protected]>; Markus 
Lanthaler<mailto:[email protected]>; 
EcmaScript<mailto:[email protected]>
Subject: Re: Futures


If resolved called the thenable's then() with accept and reject, it would only 
unwrap one layer.


Good spec googles (I think).  I just whiteboarded it and came to the same 
conclusion.  Does anyone else have a prototype implementation they can run this 
program on?

{ Kevin }

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to