UNPKG

@effect-ts/system

Version:

Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.

11 lines (10 loc) 312 B
import { chain_ } from "./core.mjs"; import { fromEither } from "./fromEither.mjs"; /** * Returns an effect that submerges the error case of an `Either` into the * `Effect`. */ export function absolve(v, __trace) { return chain_(v, e => fromEither(() => e), __trace); } //# sourceMappingURL=absolve.mjs.map