Packages

object These

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. These
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class Both[+A, +B](left: A, right: B) extends These[A, B] with Product with Serializable
  2. final case class Left[+A](value: A) extends These[A, Nothing] with Product with Serializable
  3. final case class Right[+B](value: B) extends These[Nothing, B] with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit def TheseAssociative[A, B](implicit arg0: Associative[A], arg1: Associative[B]): Associative[These[A, B]]

    Derives an Associative[These[A, B]] given an Associative[A] and an Associative[B].

  5. implicit def TheseAssociativeEither[A](implicit arg0: Associative[A]): AssociativeEither[[+b]These[A, b]]

    The AssociativeEither instance for These.

  6. implicit def TheseCommutative[A, B](implicit arg0: Commutative[A], arg1: Commutative[B]): Commutative[These[A, B]]

    Derives a Commutative[These[A, B]] given a Commutative[A] and a Commutative[B].

  7. implicit def TheseCommutativeBoth[A](implicit arg0: Commutative[A]): CommutativeBoth[[+b]These[A, b]]

    The CommutativeBoth instance for These.

  8. implicit def TheseCovariant[A]: Covariant[[+b]These[A, b]]

    The Covariant instance for These.

  9. implicit def TheseDebug[A, B](implicit arg0: Debug[A], arg1: Debug[B]): Debug[These[A, B]]

    Derives a Debug[These[A, B]] given a Debug[A] and a Debug[B].

  10. implicit def TheseDeriveEqual[A](implicit arg0: Equal[A]): DeriveEqual[[+b]These[A, b]]

    The DeriveEqual instance for These.

  11. implicit def TheseEqual[A, B](implicit arg0: Equal[A], arg1: Equal[B]): Equal[These[A, B]]

    Derives an Equal[These[A, B]] given an Equal[A] and an Equal[B].

  12. implicit def TheseForEach[A]: ForEach[[+b]These[A, b]]

    The ForEach instance for These.

  13. implicit def TheseHash[A, B](implicit arg0: Hash[A], arg1: Hash[B]): Hash[These[A, B]]

    Derives a Hash[These[A, B]] given a Hash[A] and a Hash[B].

  14. implicit def TheseIdentityBoth[A](implicit arg0: Associative[A]): IdentityBoth[[+b]These[A, b]]

    The IdentityBoth instance for These.

  15. implicit def TheseIdentityFlatten[A](implicit arg0: Associative[A]): IdentityFlatten[[+b]These[A, b]]

    The IdentityFlatten instance for These.

  16. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  17. def both[A, B](a: A, b: B): These[A, B]

    Constucts a Both with an A value and a B value.

  18. def bothNonEmptyChunk[A, B](a: A, b: B): These[NonEmptyChunk[A], B]

    Constructs a Both with an A value and a B value, wrapping the A value in a NonEmptyChunk.

    Constructs a Both with an A value and a B value, wrapping the A value in a NonEmptyChunk. This is useful when using These to model computations that may both succeed and fail to use the Associative instance for NonEmptyChunk to accumulate all errors.

  19. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  23. def fromEither[A, B](eab: Either[A, B]): These[A, B]

    Constructs a These from an Either value.

  24. def fromOption[A](ob: Option[A]): These[Unit, A]

    Constructs a These from an Option value.

  25. def fromOptions[A, B](opA: Option[A], opB: Option[B]): Option[These[A, B]]

    Constructor from two options to an option of These.

  26. def fromValidation[E, A](validation: Validation[E, A]): These[NonEmptyChunk[E], A]

    Constructs a These from a Validation value.

  27. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. def left[A](a: A): These[A, Nothing]

    Constructs a Left with an A value.

  31. def leftNonEmptyChunk[A](a: A): These[NonEmptyChunk[A], Nothing]

    Constructs a Left with an A value, wrapping the A value in a NonEmptyChunk.

    Constructs a Left with an A value, wrapping the A value in a NonEmptyChunk. This is useful when using These to model computations that may both succeed and fail to use the Associative instance for NonEmptyChunk to accumulate multiple errors.

  32. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. def right[A](a: A): These[Nothing, A]

    Constructs a Right with an A value.

  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. val unit: These[Nothing, Unit]

    A Right with the Unit value.

  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped