"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.onFirst = onFirst;

var _environment = /*#__PURE__*/require("./environment.cjs");

var _zip = /*#__PURE__*/require("./zip.cjs");

/**
 * 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.zip_)(self, (0, _environment.environment)(), __trace);
}
//# sourceMappingURL=onFirst.cjs.map