"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.onSecond = void 0;
const environment_1 = require("./environment");
const zip_1 = require("./zip");
/**
 * Propagates the success value to the second element of a tuple, but
 * passes the effect input `R` along unmodified as the first element
 * of the tuple.
 */
function onSecond(self, __trace) {
    return (0, zip_1.zip_)((0, environment_1.environment)(), self, __trace);
}
exports.onSecond = onSecond;
//# sourceMappingURL=onSecond.js.map