import * as tsplus_module_1 from "@effect/core/io/Effect/operations/provideEnvironment";
import * as tsplus_module_2 from "@effect/core/io/Effect/operations/environmentWithEffect";
/**
 * Provides some of the environment required to run this effect,
 * leaving the remainder `R0`.
 *
 * @tsplus fluent ets/Effect provideSomeEnvironment
 */

export function provideSomeEnvironment_(self, f, __tsplusTrace) {
  return tsplus_module_2.environmentWithEffect(r0 => tsplus_module_1.provideEnvironment_(self, () => f(r0), __tsplusTrace), __tsplusTrace);
}
/**
 * Provides some of the environment required to run this effect,
 * leaving the remainder `R0`.
 *
 * @tsplus static ets/Effect/Aspects provideSomeEnvironment
 */

export const provideSomeEnvironment = (f, __tsplusTrace) => self => provideSomeEnvironment_(self, f, __tsplusTrace);
//# sourceMappingURL=provideSomeEnvironment.mjs.map