// ets_tracing: off
import * as O from "../../../../Option";
import * as MapError from "./mapError";
import * as SomeOrFail from "./someOrFail";
/**
 * Converts an option on values into an option on errors.
 */

export function some(self) {
  return SomeOrFail.someOrFail_(MapError.mapError_(self, O.some), O.none);
}
//# sourceMappingURL=some.js.map