UNPKG

@effect-ts/system

Version:

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

18 lines (16 loc) 470 B
// ets_tracing: off import * as fe from "../../Effect/fromEither.mjs"; import { fromEffect } from "../fromEffect.mjs"; /** * Lifts an `Either` into a `Managed` value. */ export function fromEitherWith(self, __trace) { return fromEffect(fe.fromEither(self), __trace); } /** * Lifts an `Either` into a `Managed` value. */ export function fromEither(self, __trace) { return fromEffect(fe.fromEither(() => self), __trace); } //# sourceMappingURL=fromEither.mjs.map