Promise.cast and Promise.resolve

Brendan Eich brendan at mozilla.com
Tue Jan 28 15:30:43 PST 2014


Andreas Rossberg wrote:
>> `flatMap`
>> ...
>
> 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. :-P

/be


More information about the es-discuss mailing list