0

Implement Uiua's 'tuples' function
In the programming language Uiua, there is a higher-order function called tuples which is a generalization of getting the permutations or combinations of an array. Tuples takes a list \$ a \$, a sample size \$ r \$, and a function \$ f \$ taking two numbers repr...