import * as tsplus_module_1 from "@effect/core/io/Effect/operations/succeedNow";
import * as tsplus_module_2 from "@effect/core/io/Effect/operations/flatMap";
/**
 * Returns an effect whose success is mapped by the specified `f` function.
 *
 * @tsplus fluent ets/Effect map
 */

export function map_(self, f, __tsplusTrace) {
  return tsplus_module_2.flatMap_(self, a => tsplus_module_1.succeedNow(f(a), __tsplusTrace), __tsplusTrace);
}
/**
 * Returns an effect whose success is mapped by the specified `f` function.
 *
 * @tsplus static ets/Effect/Aspects map
 */

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