import * as tsplus_module_1 from "@tsplus/stdlib/data/Tuple/make";
import * as tsplus_module_2 from "@effect/core/io/Cause/definition";
import * as tsplus_module_3 from "@effect/core/io/Exit/operations/zipWith";
/**
 * Sequentially zips the this result with the specified result or else returns
 * the failed `Cause<E>`.
 *
 * @tsplus fluent ets/Exit zip
 */

export function zip_(self, that) {
  return tsplus_module_3.zipWith_(self, that, (a, b) => tsplus_module_1.make(a, b), tsplus_module_2.combineSeq);
}
/**
 * Sequentially zips the this result with the specified result or else returns
 * the failed `Cause<E>`.
 *
 * @tsplus static ets/Exit/Aspects zip
 */

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