const fileName_1 = "(@effect/core) _src/io/Effect/operations/tuple.ts";
import * as tsplus_module_1 from "@tsplus/stdlib/data/Tuple/make";
import * as tsplus_module_2 from "@effect/core/io/Effect/operations/excl-forEach";
import * as tsplus_module_3 from "@effect/core/io/Effect/operations/map";
/**
 * Like `forEach` + `identity` with a tuple type.
 *
 * @tsplus static ets/Effect/Ops tuple
 */

export function tuple(...t) {
  return tsplus_module_3.map_(tsplus_module_2.collectAll(() => t, fileName_1 + ":23:27"), x => tsplus_module_1.make(...x), fileName_1 + ":23:34");
}
/**
 * Like tuple but parallel, same as `forEachPar` + `identity` with a tuple type.
 *
 * @tsplus static ets/Effect/Ops tuplePar
 */

export function tuplePar(...t) {
  return tsplus_module_3.map_(tsplus_module_2.collectAllPar(() => t, fileName_1 + ":40:30"), x => tsplus_module_1.make(...x), fileName_1 + ":40:37");
}
//# sourceMappingURL=tuple.mjs.map