(option: Option.Option<A>)
| 991 | * @category constructors |
| 992 | */ |
| 993 | export const fromOption = <A>(option: Option.Option<A>): Micro<A, NoSuchElementException> => |
| 994 | option._tag === "Some" ? succeed(option.value) : fail(new NoSuchElementException({})) |
| 995 | |
| 996 | /** |
| 997 | * Converts an `Either` into a `Micro` effect, that will fail with the left side |
no test coverage detected