import * as tsplus_module_1 from "@effect/core/io/Effect/operations/environment";
import * as tsplus_module_2 from "@effect/core/io/Effect/operations/map";
/**
 * Accesses the environment of the effect.
 *
 * @tsplus static ets/Effect/Ops environmentWith
 */

export function environmentWith(f, __tsplusTrace) {
  return tsplus_module_2.map_(tsplus_module_1.environment(__tsplusTrace), f, __tsplusTrace);
}
//# sourceMappingURL=environmentWith.mjs.map