// tracing: off
import * as E from "../Either"
import { chain_, succeed, succeedWith } from "./core"
import { fail } from "./fail"
/**
 * Lifts an `Either` into a `Effect` value.
 */

export function fromEither(f, __trace) {
  return chain_(succeedWith(f), E.fold(fail, succeed), __trace)
}
//# sourceMappingURL=fromEither.js.map
