export default (vals: Iterable) => { let total = 0; for (const v of vals) { total += v; } return total; };