Utility function used to replicated purrr::reduce. Recursively applies a function to a list of elements until only 1 element remains
Utility function used to replicated purrr::reduce. Recursively applies a function to a list of elements until only 1 element remains