fromEither
import { fromEither } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/sync_either.ts";Convert an Either to a SyncEither.
@example
import { fromEither } from "./sync_either.ts";
import * as E from "./either.ts";
const either = E.right("Success");
const syncEither = fromEither(either);
const result = syncEither(); // Right("Success")