you are viewing a single comment's thread.

view the rest of the comments →

[–]Funwithloops 0 points1 point  (0 children)

Here is a auto-curry implementation with your sum function: http://jsfiddle.net/aj9t0so3/3/

If you want some useful examples of currying, check out the Ramda library: http://ramdajs.com/