sumIterable<I, R> function
Uses mergeIterable to sum all iterable
values.
Implementation
num sumIterable<I, R>(Iterable<num> iterable, {num init = 0}) =>
mergeIterable(iterable, (num? total, num value) => total! + value, init)!;