"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.zipAllLeft = exports.zipAllLeft_ = void 0;
// ets_tracing: off
const Function_1 = require("../../Function");
const zipAllWith_1 = require("./zipAllWith");
/**
 * Zips this stream with another point-wise, and keeps only elements from this stream.
 *
 * The provided default value will be used if the other stream ends before this one.
 */
function zipAllLeft_(self, that, default_) {
    return (0, zipAllWith_1.zipAllWith_)(self, that, Function_1.identity, (_) => default_, (o) => o);
}
exports.zipAllLeft_ = zipAllLeft_;
/**
 * Zips this stream with another point-wise, and keeps only elements from this stream.
 *
 * The provided default value will be used if the other stream ends before this one.
 *
 * @ets_data_first zipAllLeft_
 */
function zipAllLeft(that, default_) {
    return (self) => zipAllLeft_(self, that, default_);
}
exports.zipAllLeft = zipAllLeft;
//# sourceMappingURL=zipAllLeft.js.map