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

In other languages this kind of problem is typically solved with an explicit accumulator and a for loop. Plus a little crutch in places where higher order functions would really make sense :-)


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

Search: