Construct a disjunction value from a standard scala.Either
.
Construct a left disjunction value.
Construct a right disjunction value.
val a: String \/ Int = \/-(1) val b: EitherT[({type l[a] = String \/ a})#l, Boolean, Int] = EitherT.rightU[Boolean](a)
Evaluate the given value, which might throw an exception.
Evaluate the given value, which might throw an exception.
(Since version 7.1.0) catches fatal exceptions, use fromTryCatchThrowable or fromTryCatchNonFatal