export function reduce<A, B>(rfn: Reducer<A, B>, acc: B, xs: Iterable<A>): B;