import type { Either } from "../Either"; import * as X from "../XPure"; import type { Sync } from "./model"; /* * ------------------------------------------- * Fallible Sync * ------------------------------------------- */ export const recover: (fa: Sync) => Sync> = X.recover; export const absolve: (fa: Sync>) => Sync = X.absolve;