Sobes.tech
Junior — Senior

Curried function for summing an arbitrary number of arguments

livecode

Task condition

Implement a function that sums any number of passed numbers using currying technique. The function should take one argument per call and return a new function expecting the next argument until enough values are received to compute the sum.