// ets_tracing: off import type * as C from "./core.js" import * as ZipWith from "./zipWith.js" /** * Like `zip`, but keeps only the result from this sink. */ export function zipRight_< 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, (_, z1) => z1) } /** * Like `zip`, but keeps only the result from this sink. * * @ets_data_first zipRight_ */ export function zipRight( that: C.Sink ) { return (self: C.Sink) => zipRight_(self, that) }