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

I think this is the first time the concept of currying has solidly clicked for me; most explanations focus on the "your function should take one argument" aspect more than the "your function should return a new function" aspect, which meant that, until now, currying looked more like an obstacle than a tool.

Thanks!



That's great to hear! I also had some trouble finding the gist of currying. As you said, the _why_ is often missing in the explanations. Glad I could help you in that regard.




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

Search: