Monads fix nesting issues & give us the opportunity to keep things in scope or not.
-
-
P.resolve(1).then(x => P.resolve(2)).then(y => 'x not in scope')) vs P.resolve(1).then(x => P.resolve(2).then(y => x + y))
-
Wow. Useful reply!

- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.