"use strict"
Object.defineProperty(exports, "__esModule", { value: true })
exports.map = exports.map_ = void 0
// tracing: off
const core_1 = require("./core")
/**
 * Returns an effect whose success is mapped by the specified `f` function.
 */
function map_(_, f, __trace) {
  return (0, core_1.chain_)(_, (a) => (0, core_1.succeed)(f(a)), __trace)
}
exports.map_ = map_
/**
 * Returns an effect whose success is mapped by the specified `f` function.
 *
 * @dataFirst map_
 */
function map(f, __trace) {
  return (self) => map_(self, f)
}
exports.map = map
//# sourceMappingURL=map.js.map
