Hacker News new | ask | show | jobs
by heydenberk 1630 days ago
Sure. I'm not suggesting it be used to this effect; I'm noting the generality as an interesting point.
1 comments

I assumed you were aware of the issues, which is why I said those at home who might just take it at face value as a neat pattern. :)

I personally do actually use flatMap sometimes as outlined in your example - perf is an after issue and I'll refactor if the concise code isn't worth the cost.