Mastering Your Web Application Using Functional Javascript : The Promise as a Monad | packtpub.com

preview_player
Показать описание
This playlist/video has been uploaded for Marketing purposes and contains only selective videos.

By far the most popular way to handle asynchronous logic in JavaScript is with the Promise. Did you know that the promise is based on the Monad type class? Before using actual Monads for asynchronous programming. In this video, we will see how the promise relates to them.
• Adapt the Promise prototype to work as a monad functor
• Write Monad friendly code using the adapted promise

For the latest Web development video tutorials, please visit

Рекомендации по теме