// ets_tracing: off import { identity } from "../../../../Function/index.js" import type * as C from "../core.js" import * as ZipAllWith from "./zipAllWith.js" /** * Zips this stream with another point-wise, and keeps only elements from the other stream. * * The provided default value will be used if this stream ends before the other one. */ export function zipAllLeft_( self: C.Stream, that: C.Stream, default_: A ): C.Stream { return ZipAllWith.zipAllWith_( self, that, identity, (_) => default_, (o, _) => o ) } /** * Zips this stream with another point-wise, and keeps only elements from the other stream. * * The provided default value will be used if this stream ends before the other one. * * @ets_data_first zipAllLeft_ */ export function zipAllLeft(that: C.Stream, default_: A) { return (self: C.Stream) => zipAllLeft_(self, that, default_) }