How to curry a function across an unknown number of parameters
It’s sort of possible but you need to define the terminating condition because the problem is essentially the same problem as writing a recursive function. The function needs a way to tell whether it should return a function or a value. How you signal the need for values is up to you. One way of … Read more