Re:Swift Functors, Applicatives, and Monads in Pictures
by gclaramunt on Tuesday July 14, 2015 @10:02PM
(#9889306)
What's wrong with 'bind' ?
[ Parent
| on HN ]
Re:Swift Functors, Applicatives, and Monads in Pictures
by skybrian on Tuesday July 14, 2015 @11:54PM
(#9889617)
What's being bound?
Perhaps "then" would work. JavaScript promises use it to good effect, and they're a monad.
Re:Swift Functors, Applicatives, and Monads in Pictures
by VladimirGolovin on Wednesday July 15, 2015 @06:43AM
(#9890619)
Smaller computations are being bound into a larger computation, where the monad provides the the code that is executed 'between the lines'.
(BTW, my own take on renaming a monad into something less scary is daisychain, or, slightly more to-the-point, chainable.)