"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.zipLeft = exports.zipLeft_ = void 0;
const zipWith_1 = require("./zipWith");
/**
 * Zips this stream with another point-wise, but keeps only the outputs of this stream.
 *
 * The new stream will end when one of the sides ends.
 */
function zipLeft_(self, that) {
    return (0, zipWith_1.zipWith_)(self, that, (o) => o);
}
exports.zipLeft_ = zipLeft_;
/**
 * Zips this stream with another point-wise, but keeps only the outputs of this stream.
 *
 * The new stream will end when one of the sides ends.
 */
function zipLeft(that) {
    return (self) => zipLeft_(self, that);
}
exports.zipLeft = zipLeft;
//# sourceMappingURL=zipLeft.js.map