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

or just call a closure bound to the whole list. I think I would write the thing as a for loop though, it feels so un map like


Alternatively, you could partially apply the entire list to the function.




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

Search: