Promise.cast and Promise.resolve

Kevin Smith zenparsing at gmail.com
Tue Jan 28 21:58:30 PST 2014


>
>
> Auto-lifting/unwrapping promises are beautiful. Purely monadic promises
> are beautifully captured by type theory. But, I would pick one or the other
> over one with multiple personalities. I would pick "Promise.cast" and
> "then", let complexity melt off the spec, and stop worrying.
>
>
AP2 might not be what everyone wants, but it is a coherent design, and
(more importantly) it has consensus.  We should use that as the starting
point and focus on whether the current spec correctly implements AP2.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140129/9435a8c1/attachment.html>


More information about the es-discuss mailing list