Hacker News new | ask | show | jobs
by gwd 856 days ago
You wouldn't write that exact function. You'd have some complicated pipeline that ended up in a map; and it might be easier to follow the logic using map / filter / fromentries.