implicit final class RightBiasedEither[A, B] extends AnyVal
- Alphabetic
- By Inheritance
- RightBiasedEither
- AnyVal
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##(): Int
- Definition Classes
- Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] toany2stringadd[RightBiasedEither[A, B]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (RightBiasedEither[A, B], B)
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] toArrowAssoc[RightBiasedEither[A, B]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ensuring(cond: (RightBiasedEither[A, B]) => Boolean, msg: => Any): RightBiasedEither[A, B]
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] toEnsuring[RightBiasedEither[A, B]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (RightBiasedEither[A, B]) => Boolean): RightBiasedEither[A, B]
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] toEnsuring[RightBiasedEither[A, B]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): RightBiasedEither[A, B]
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] toEnsuring[RightBiasedEither[A, B]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): RightBiasedEither[A, B]
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] toEnsuring[RightBiasedEither[A, B]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] toStringFormat[RightBiasedEither[A, B]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- def get: B
Get the value, fail with an assertion if this is an error.
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def orThrow: B
Get the right value of an
Either
by throwing a potential error message.Get the right value of an
Either
by throwing a potential error message. Can simplify the implementation of methods that act on multipleEither
instances. Instead of flat-mapping, the first error can be collected astryEither { eitherOne.orThrow .... eitherTwo.orThrow ... eitherThree.orThrow }
- def toString(): String
- Definition Classes
- Any
- val v: Either[A, B]
- def withFilter(f: (B) => Boolean)(implicit empty: A): Either[A, B]
Deprecated Value Members
- def →[B](y: B): (RightBiasedEither[A, B], B)
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] toArrowAssoc[RightBiasedEither[A, B]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
The Scala compiler and reflection APIs.