Hacker News new | ask | show | jobs
by dthul 2258 days ago
For people coming from a functional programming background, `fold` might be the superior name. But setting aside monads, `map_or` expresses the intent much better I find.
1 comments

(I was being mostly sarcastic.)
Rereading your comment I wonder how I could miss this!