// ets_tracing: off
import { identity } from "../../Function";
import { refineOrDieWith } from "./refineOrDieWith";
/**
 * Keeps some of the errors, and terminates the fiber with the rest
 */

export function refineOrDie_(self, pf) {
  return refineOrDieWith(pf)(identity)(self);
}
/**
 * Keeps some of the errors, and terminates the fiber with the rest
 */

export function refineOrDie(pf) {
  return self => refineOrDie_(self, pf);
}
//# sourceMappingURL=refineOrDie.js.map