Packages

final case class Right[+B](value: B) extends These[Nothing, B] with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Right
  2. Serializable
  3. Product
  4. Equals
  5. These
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Right(value: B)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def &>[A1 >: Nothing, C](that: These[A1, C])(implicit arg0: Commutative[A1]): These[A1, C]

    A symbolic alias for zipParRight.

    A symbolic alias for zipParRight.

    Definition Classes
    These
  4. final def *>[A1 >: Nothing, C](that: These[A1, C])(implicit arg0: Associative[A1]): These[A1, C]

    A symbolic alias for zipRight.

    A symbolic alias for zipRight.

    Definition Classes
    These
  5. final def <&[A1 >: Nothing, C](that: These[A1, C])(implicit arg0: Commutative[A1]): These[A1, B]

    A symbolic alias for zipParLeft.

    A symbolic alias for zipParLeft.

    Definition Classes
    These
  6. final def <&>[A1 >: Nothing, C](that: These[A1, C])(implicit arg0: Commutative[A1]): These[A1, (B, C)]

    A symbolic alias for zipPar.

    A symbolic alias for zipPar.

    Definition Classes
    These
  7. final def <*[A1 >: Nothing, C](that: These[A1, C])(implicit arg0: Associative[A1]): These[A1, B]

    A symbolic alias for zipLeft.

    A symbolic alias for zipLeft.

    Definition Classes
    These
  8. final def <*>[A1 >: Nothing, C](that: These[A1, C])(implicit arg0: Associative[A1]): These[A1, (B, C)]

    A symbolic alias for zip.

    A symbolic alias for zip.

    Definition Classes
    These
  9. final def <+>[A1 >: Nothing, C](that: => These[A1, C])(implicit arg0: Associative[A1]): These[A1, Either[B, C]]

    A symbolic alias for orElseEither.

    A symbolic alias for orElseEither.

    Definition Classes
    These
  10. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. final def >>=[A1 >: Nothing, C](f: (B) => These[A1, C])(implicit arg0: Associative[A1]): These[A1, C]

    A symbolic alias for flatMap.

    A symbolic alias for flatMap.

    Definition Classes
    These
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. final def bimap[A2, C](f: (Nothing) => A2, g: (B) => C): These[A2, C]

    Transforms both the A value and the B value with the specified functions f and g.

    Transforms both the A value and the B value with the specified functions f and g.

    Definition Classes
    These
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  17. final def flatMap[A1 >: Nothing, C](f: (B) => These[A1, C])(implicit arg0: Associative[A1]): These[A1, C]

    Returns a new computation based on the successful result of this computation.

    Returns a new computation based on the successful result of this computation. If this computation contains a success the new computation will be performed, even if this computation also contains errors. Any errors produced by the two computations will be combined using the Associative instance for A. If this computation does not contain a success then the original failure will be returned unchanged.

    Definition Classes
    These
  18. final def flatten[A1 >: Nothing, C](implicit ev: <:<[B, These[A1, C]], ev2: Associative[A1]): These[A1, C]

    Flattens a nested These computation to a single level.

    Flattens a nested These computation to a single level.

    Definition Classes
    These
  19. final def flip: These[B, Nothing]

    Flips the left and right values.

    Flips the left and right values.

    Definition Classes
    These
  20. final def fold[C](left: (Nothing) => C, right: (B) => C)(both: (Nothing, B) => C): C

    Folds each of the possibile cases into a summary value.

    Folds each of the possibile cases into a summary value.

    Definition Classes
    These
  21. final def forEach[F[+_], C](f: (B) => F[C])(implicit arg0: IdentityBoth[F], arg1: Covariant[F]): F[These[Nothing, C]]

    Transforms the successful result of this compuation with the specified effectual function, leaving any error value unchanged.

    Transforms the successful result of this compuation with the specified effectual function, leaving any error value unchanged.

    Definition Classes
    These
  22. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final def isBoth: Boolean

    Returns whether this value is a Both.

    Returns whether this value is a Both.

    Definition Classes
    These
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def isLeft: Boolean

    Returns whether this value is a Left.

    Returns whether this value is a Left.

    Definition Classes
    These
  26. final def isRight: Boolean

    Returns whether this value is a Right.

    Returns whether this value is a Right.

    Definition Classes
    These
  27. final def map[C](f: (B) => C): These[Nothing, C]

    Transforms the B value with the specified function.

    Transforms the B value with the specified function.

    Definition Classes
    These
  28. final def mapLeft[A2](f: (Nothing) => A2): These[A2, B]

    Transforms the A value with the specified function.

    Transforms the A value with the specified function.

    Definition Classes
    These
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def orElse[A1 >: Nothing, B1 >: B](that: => These[A1, B1])(implicit arg0: Associative[A1]): These[A1, B1]
    Definition Classes
    These
  33. final def orElseEither[A1 >: Nothing, C](that: => These[A1, C])(implicit arg0: Associative[A1]): These[A1, Either[B, C]]
    Definition Classes
    These
  34. def productElementNames: Iterator[String]
    Definition Classes
    Product
  35. def reduceMap[C](f: (Nothing) => C, g: (B) => C)(implicit C: Associative[C]): C
    Definition Classes
    These
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. final def toEither: Either[Nothing, B]

    Converts this value to an Either containing a Right if this value contains a success or a Left otherwise, discarding information about any errors in the case of success.

    Converts this value to an Either containing a Right if this value contains a success or a Left otherwise, discarding information about any errors in the case of success.

    Definition Classes
    These
  38. final def toOption: Option[B]

    Converts this value to an Option containing Some if this value contains a success or None otherwise, discarding information about any errors in the case of success.

    Converts this value to an Option containing Some if this value contains a success or None otherwise, discarding information about any errors in the case of success.

    Definition Classes
    These
  39. final def toValidation: Validation[Nothing, B]

    Converts this value to a validation success if this value contains a success or a validation failure otherwise, discarding information about any errors in the case of success.

    Converts this value to a validation success if this value contains a success or a validation failure otherwise, discarding information about any errors in the case of success.

    Definition Classes
    These
  40. final def toValidationNonEmptyChunk[A1](implicit ev: <:<[Nothing, NonEmptyChunk[A1]]): Validation[A1, B]

    Converts this value to a validation success if this value contains a success or a validation failure otherwise, submerging multiple errors into the structure of the validation and discarding information about any errors in the case of success.

    Converts this value to a validation success if this value contains a success or a validation failure otherwise, submerging multiple errors into the structure of the validation and discarding information about any errors in the case of success.

    Definition Classes
    These
  41. val value: B
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  45. final def zip[A1 >: Nothing, C, D](that: These[A1, C])(implicit arg0: Associative[A1]): These[A1, (B, C)]

    Combines this computation sequentially with that computation, combining their results into a tuple.

    Combines this computation sequentially with that computation, combining their results into a tuple. If this computation does not return a success that computation will not be performed. If both computations are performed any errors will be combined using the Associative instance for A.

    Definition Classes
    These
  46. final def zipLeft[A1 >: Nothing, C, D](that: These[A1, C])(implicit arg0: Associative[A1]): These[A1, B]

    Combines this computation sequentially with that computation, returning only the left value.

    Combines this computation sequentially with that computation, returning only the left value. If this computation does not return a success that computation will not be performed. If both computations are performed any errors will be combined using the Associative instance for A.

    Definition Classes
    These
  47. final def zipPar[A1 >: Nothing, C, D](that: These[A1, C])(implicit arg0: Commutative[A1]): These[A1, (B, C)]

    Combines this computation with that computation into a tuple, performing both computations even if this computation does not return a success and combining any errors using the Commutative instance for A.

    Combines this computation with that computation into a tuple, performing both computations even if this computation does not return a success and combining any errors using the Commutative instance for A.

    Definition Classes
    These
  48. final def zipParLeft[A1 >: Nothing, C, D](that: These[A1, C])(implicit arg0: Commutative[A1]): These[A1, B]

    Combines this computation with that computation and returning only the left value, performing both computations even if this computation does not return a success and combining any errors using the Commutative instance for A.

    Combines this computation with that computation and returning only the left value, performing both computations even if this computation does not return a success and combining any errors using the Commutative instance for A.

    Definition Classes
    These
  49. final def zipParRight[A1 >: Nothing, C, D](that: These[A1, C])(implicit arg0: Commutative[A1]): These[A1, C]

    Combines this computation with that computation and returning only the right value, performing both computations even if this computation does not return a success and combining any errors using the Commutative instance for A.

    Combines this computation with that computation and returning only the right value, performing both computations even if this computation does not return a success and combining any errors using the Commutative instance for A.

    Definition Classes
    These
  50. final def zipRight[A1 >: Nothing, C, D](that: These[A1, C])(implicit arg0: Associative[A1]): These[A1, C]

    Combines this computation sequentially with that computation, returning only the right value.

    Combines this computation sequentially with that computation, returning only the right value. If this computation does not return a success that computation will not be performed. If both computations are performed any errors will be combined using the Associative instance for A.

    Definition Classes
    These
  51. final def zipWith[A1 >: Nothing, C, D](that: These[A1, C])(f: (B, C) => D)(implicit arg0: Associative[A1]): These[A1, D]

    Combines this computation sequentially with that computation, combining their results with the specified function.

    Combines this computation sequentially with that computation, combining their results with the specified function. If this computation does not return a success that computation will not be performed. If both computations are performed any errors will be combined using the Associative instance for A.

    Definition Classes
    These
  52. final def zipWithPar[A1 >: Nothing, C, D](that: These[A1, C])(f: (B, C) => D)(implicit arg0: Commutative[A1]): These[A1, D]

    Combines this computation with that computation using the specified function, performing both computations even if this computation does not return a success and combining any errors using the Commutative instance for A.

    Combines this computation with that computation using the specified function, performing both computations even if this computation does not return a success and combining any errors using the Commutative instance for A.

    Definition Classes
    These

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from These[Nothing, B]

Inherited from AnyRef

Inherited from Any

Ungrouped