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