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

Currying on the fly always feels a little silly to me. What's natural is just defining functions in curried form from the get-go.

    function reduce(nil, cons) {
      return (ary) => {
        ...
      }
    }


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

Search: