Promise.cast and Promise.resolve

Sam Tobin-Hochstadt samth at cs.indiana.edu
Tue Jan 28 19:27:42 PST 2014


On Tue, Jan 28, 2014 at 7:47 PM, Brendan Eich <brendan at mozilla.com> wrote:
> Andreas Rossberg wrote:
>>
>> Seriously, Haskell calls it>>=.
>
>
> Right, that thing. Did it have the f-l-a-t-... name in Haskell, or is it
> pronounced b-i-n-d always, monads or not?

No, it's always called "bind" in Haskell.  The name flatMap was
invented for Scala, to the best of my knowledge.

Sam


More information about the es-discuss mailing list