Function
fromEither
(either: Either.Either<R, L>)
Source from the content-addressed store, hash-verified
| 1003 | * @category constructors |
| 1004 | */ |
| 1005 | export const fromEither = <R, L>(either: Either.Either<R, L>): Micro<R, L> => |
| 1006 | either._tag === "Right" ? succeed(either.right) : fail(either.left) |
| 1007 | |
| 1008 | const void_: Micro<void> = succeed(void 0) |
| 1009 | export { |
Callers
nothing calls this directly
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…