Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: