Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pka
on Jan 23, 2019
|
parent
|
context
|
favorite
| on:
For the Love of Pipes
The things you listed may form a monad, but your list/iterator transformation doesn't use monadic composition.
> list.select { |x| x.foo > 10 }.map { |x| x.bar }
Where's `bind` or `join` in that example?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
> list.select { |x| x.foo > 10 }.map { |x| x.bar }
Where's `bind` or `join` in that example?