"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.asService_ = exports.asService = void 0;
const map_1 = require("./map");
/**
 * Maps the success value of this effect to a service.
 *
 * @datFirst asService_
 */
function asService(has, __trace) {
    return (fa) => asService_(fa, has, __trace);
}
exports.asService = asService;
/**
 * Maps the success value of this effect to a service.
 */
function asService_(fa, tag, __trace) {
    return (0, map_1.map_)(fa, tag.has, __trace);
}
exports.asService_ = asService_;
//# sourceMappingURL=asService.js.map