Hacker News new | ask | show | jobs
by village-idiot 3422 days ago
Why is map and filter nice on a list? Because the individual functions passed in have no idea they're in the middle of a map or filter. Ditto with mapping or filtering on Optional or Either. It composes better.