Promise.cast and Promise.resolve
rossberg at google.com
Tue Jan 28 15:39:01 PST 2014
On 29 January 2014 00:30, Brendan Eich <brendan at mozilla.com> wrote:
> Andreas Rossberg wrote:
>> The V8 implementation provides it under the name `chain', with the
>> obvious semantics.
> +1 on chain as name, not flatMap, but Haskell'ers should weigh in. Wait, no.
Well, Haskell does not have flatMap. Scala has.
More information about the es-discuss