3 ms·
When EcmaSCript 2019 hits the shelves it will have flatMap(). flatMap is the "corner-stone of monads" (poetically speaking) at which point monads will lose much
by galaxyLogic 7y ago
When EcmaSCript 2019 hits the shelves it will have flatMap(). flatMap is the "corner-stone of monads" (poetically speaking) at which point monads will lose much of their mystique and things will be much advanced in the programmer land. You can use monads where you need them.
http://2ality.com/2018/02/ecmascript-2019.html http://2ality.com/2018/02/ecmascript-2019.html
More on ES2019 at https://medium.com/@selvaganesh93/javascript-whats-new-in-ecmascript-2019-es2019-es10-35210c6e7f4b https://medium.com/@selvaganesh93/javascript-whats-new-in-ec...