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

The remove-if-not example is pretty funny. No, it doesn't have any obvious translation into function composition, and in particular isn't equivalent to the Haskell example. Instead, :count specifies how many elements to remove and :start specifies when to start removing.


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

Search: