fromFn
import { fromFn } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/fn_either.ts";Lift a Fn<D, A> into FnEither<[D], never, A>
@example
import { fromFn } from "./fn_either.ts";
const double = (first: number) => first + first;
const lifted = fromFn(double);
const result = lifted(1); // Right(2)