import * as tsplus_module_1 from "@effect/core/io/Cause/definition";
import * as tsplus_module_2 from "@effect/core/io/Exit/operations/zipWith";
/**
 * Sequentially zips the this result with the specified result discarding the
 * first element of the tuple or else returns the failed `Cause`.
 *
 * @tsplus operator ets/Exit >
 * @tsplus fluent ets/Exit zipRight
 */

export function zipRight_(self, that) {
  return tsplus_module_2.zipWith_(self, that, (_, b) => b, tsplus_module_1.combineSeq);
}
/**
 * Sequentially zips the this result with the specified result discarding the
 * first element of the tuple or else returns the failed `Cause`.
 *
 * @tsplus static ets/Exit/Aspects zipRight
 */

export const zipRight = that => self => zipRight_(self, that);
//# sourceMappingURL=zipRight.mjs.map