Add `fromEither`, `fromOption` and `fromTry` to `FxCtor` and `Fx`
kevin-lee opened this issue · comments
Task
Summary
Add fromEither
, fromOption
and fromTry
to FxCtor
and Fx
Project Details
Version:
Description
def fromEither[A](either: Either[Throwable, A]): F[A]
def fromOption[A](option: Option[A])(orElse: => Throwable): F[A]
def fromTry[A](tryA: scala.util.Try[A]): F[A]