seancribbs/ripple — comment on commit a1e40c57ddde3c138cb5f6bde6e5fa5573c6d8ff
File: riak-client/lib/riak/client.rb line 256
By aphyr:

Can't decide what to call this method but you're right, I was thinking of monadic composition. :)

Too bad you can't write pool >> do ... end or pool & do ... end. Take? Reserve? Checkout? Acquire? Lock? Arrrgh. Maybe I do like pool.>>.

Sean Cribbs wrote:

>It was mostly a joke because it looks like the monadic 'bind' operator in Haskell (which looks like `:>>`), but actually it's saying "checkout a connection for this block". Now, if didn't require the `.` it would be really nice.
>
>---
>Reply to this email directly or view it on GitHub:
>https://github.com/seancribbs/ripple/commit/a1e40c57ddde3c138cb5f6bde6e5fa5573c6d8ff#commitcomment-711347
>