getCombineAll
import { getCombineAll } from "https://raw.githubusercontent.com/baetheus/fun/main/combinable.ts";
Given a Combinable, create a function that will iterate through an array of values and combine them. This is not much more than Array.fold(combine).
@example
import * as C from "./combinable.ts";
import * as N from "./number.ts";
import { pipe } from "./fn.ts";
const sumAll = C.getCombineAll(N.InitializableNumberSum);
const result = sumAll(1, 30, 80, 1000, 52, 42); // 1205