pub fn reduce<F, T>(f: F, init: T, xs: &[T]) -> Twhere F: Fn(T, T) -> T, T: Copy,
Explicit version of reduce
reduce