// ets_tracing: off import type * as C from "./core.js" import * as ZipWith from "./zipWith.js" /** * Like `zip`, but keeps only the result from the `that` sink. */ export function zipLeft_< R, R1, InErr, InErr1, In, In1 extends In, OutErr, OutErr1, L, L1 extends L, Z, Z1 >( self: C.Sink, that: C.Sink ): C.Sink { return ZipWith.zipWith_(self, that, (z, _) => z) } /** * Like `zip`, but keeps only the result from `that sink. * * @ets_data_first zipLeft_ */ export function zipLeft( that: C.Sink ) { return (self: C.Sink) => zipLeft_(self, that) }