import * as tsplus_module_1 from "@effect/core/stream/Sink/operations/foldLeft";
/**
 * A sink that sums incoming numeric values.
 *
 * @tsplus static ets/Sink/Ops sum
 */

export function sum(__tsplusTrace) {
  return tsplus_module_1.foldLeft(() => 0, (acc, curr) => acc + curr, __tsplusTrace);
}
//# sourceMappingURL=sum.mjs.map