const fileName_1 = "(@effect/core) _src/stream/SortedByKey/operations/zipAllSortedByKeyLeft.ts";
import * as tsplus_module_1 from "@tsplus/stdlib/data/Function";
import * as tsplus_module_2 from "@effect/core/stream/SortedByKey/operations/zipAllSortedByKeyWith";
/**
 * Zips this stream that is sorted by distinct keys and the specified stream
 * that is sorted by distinct keys to produce a new stream that is sorted by
 * distinct keys. Keeps only values from this stream, using the specified
 * value `default` to fill in missing values.
 *
 * This allows zipping potentially unbounded streams of data by key in
 * constant space but the caller is responsible for ensuring that the
 * streams are sorted by distinct keys.
 *
 * @tsplus fluent ets/SortedByKey zipAllSortedByKeyLeft
 * @tsplus fluent ets/Stream zipAllSortedByKeyLeft
 */

export function zipAllSortedByKeyLeft_(self, ord) {
  return (that, def, __tsplusTrace) => tsplus_module_2.zipAllSortedByKeyWith_(self, ord)(that, tsplus_module_1.identity, def, (a, _) => a, fileName_1 + ":22:78");
}
/**
 * Zips this stream that is sorted by distinct keys and the specified stream
 * that is sorted by distinct keys to produce a new stream that is sorted by
 * distinct keys. Keeps only values from this stream, using the specified
 * value `default` to fill in missing values.
 *
 * This allows zipping potentially unbounded streams of data by key in
 * constant space but the caller is responsible for ensuring that the
 * streams are sorted by distinct keys.
 *
 * @tsplus static ets/SortedByKey/Aspects zipAllSortedByKeyLeft
 */

export const zipAllSortedByKeyLeft = ord => self => zipAllSortedByKeyLeft_(self, ord);
//# sourceMappingURL=zipAllSortedByKeyLeft.mjs.map