import * as tsplus_module_1 from "@tsplus/stdlib/data/Tuple/make";
import * as tsplus_module_2 from "@effect/core/io/Effect/operations/map";
import * as tsplus_module_3 from "@effect/core/io/Effect/operations/flatMap";
/**
 * Sequentially zips this effect with the specified effect
 *
 * @tsplus fluent ets/Effect zip
 */

export function zip_(self, that, __tsplusTrace) {
  return tsplus_module_3.flatMap_(self, a => tsplus_module_2.map_(that(), b => tsplus_module_1.make(a, b), __tsplusTrace), __tsplusTrace);
}
/**
 * Sequentially zips this effect with the specified effect
 *
 * @tsplus static ets/Effect/Aspects zip
 */

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