import * as tsplus_module_1 from "@effect/core/stream/Stream/operations/provideEnvironment";
import * as tsplus_module_2 from "@effect/core/stream/Stream/operations/environmentWithStream";
/**
 * Transforms the environment being provided to the stream with the specified
 * function.
 *
 * @tsplus fluent ets/Stream provideSomeEnvironment
 */

export function provideSomeEnvironment_(self, f, __tsplusTrace) {
  return tsplus_module_2.environmentWithStream(env => tsplus_module_1.provideEnvironment_(self, () => f(env), __tsplusTrace), __tsplusTrace);
}
/**
 * Transforms the environment being provided to the stream with the specified
 * function.
 *
 * @tsplus static ets/Stream/Aspects provideSomeEnvironment
 */

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