"use strict"
Object.defineProperty(exports, "__esModule", { value: true })
exports.refineOrDie = exports.refineOrDie_ = void 0
// tracing: off
const Function_1 = require("../../Function")
const refineOrDieWith_1 = require("./refineOrDieWith")
/**
 * Keeps some of the errors, and terminates the fiber with the rest
 */
function refineOrDie_(self, pf) {
  return (0, refineOrDieWith_1.refineOrDieWith)(pf)(Function_1.identity)(self)
}
exports.refineOrDie_ = refineOrDie_
/**
 * Keeps some of the errors, and terminates the fiber with the rest
 */
function refineOrDie(pf) {
  return (self) => refineOrDie_(self, pf)
}
exports.refineOrDie = refineOrDie
//# sourceMappingURL=refineOrDie.js.map
