"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.sandbox = void 0;
const core_1 = require("./core");
const fail_1 = require("./fail");
/**
 * Exposes the full cause of failure of this effect.
 */
function sandbox(fa, __trace) {
    return (0, core_1.foldCauseM_)(fa, fail_1.fail, core_1.succeed, __trace);
}
exports.sandbox = sandbox;
//# sourceMappingURL=sandbox.js.map