// ets_tracing: off
import * as O from "../../../../Option";
import * as C from "../core";
import * as Succeed from "./succeed";
export function fromOption(option) {
  return O.fold_(option, () => C.fail(O.none), _ => Succeed.succeed(_));
}
//# sourceMappingURL=fromOption.js.map