Loading homepage
Input: curry((...values) => values.reduce((sum,v)=>sum+v,0))(1,2)(3)() Output: 6
Input: const prefix = curry((...xs)=>xs.join("-"))("a"); [prefix("b")(), prefix("c","d")()] Output: ["a-b", "a-c-d"]
Implement the exported API in index.js or index.ts using the documented contract.