"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.absolve = void 0;
const core_1 = require("./core");
const fromEither_1 = require("./fromEither");
/**
 * Returns an effect that submerges the error case of an `Either` into the
 * `Effect`.
 */
function absolve(v, __trace) {
    return (0, core_1.chain_)(v, (e) => (0, fromEither_1.fromEither)(() => e), __trace);
}
exports.absolve = absolve;
//# sourceMappingURL=absolve.js.map