object These
- Alphabetic
- By Inheritance
- These
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit def TheseAssociative[A, B](implicit arg0: Associative[A], arg1: Associative[B]): Associative[These[A, B]]
Derives an
Associative[These[A, B]]
given anAssociative[A]
and anAssociative[B]
. - implicit def TheseAssociativeEither[A](implicit arg0: Associative[A]): AssociativeEither[[+b]These[A, b]]
The
AssociativeEither
instance forThese
. - implicit def TheseCommutative[A, B](implicit arg0: Commutative[A], arg1: Commutative[B]): Commutative[These[A, B]]
Derives a
Commutative[These[A, B]]
given aCommutative[A]
and aCommutative[B]
. - implicit def TheseCommutativeBoth[A](implicit arg0: Commutative[A]): CommutativeBoth[[+b]These[A, b]]
The
CommutativeBoth
instance forThese
. - implicit def TheseCovariant[A]: Covariant[[+b]These[A, b]]
The
Covariant
instance forThese
. - implicit def TheseDebug[A, B](implicit arg0: Debug[A], arg1: Debug[B]): Debug[These[A, B]]
Derives a
Debug[These[A, B]]
given aDebug[A]
and aDebug[B]
. - implicit def TheseDeriveEqual[A](implicit arg0: Equal[A]): DeriveEqual[[+b]These[A, b]]
The
DeriveEqual
instance forThese
. - implicit def TheseEqual[A, B](implicit arg0: Equal[A], arg1: Equal[B]): Equal[These[A, B]]
Derives an
Equal[These[A, B]]
given anEqual[A]
and anEqual[B]
. - implicit def TheseForEach[A]: ForEach[[+b]These[A, b]]
The
ForEach
instance forThese
. - implicit def TheseHash[A, B](implicit arg0: Hash[A], arg1: Hash[B]): Hash[These[A, B]]
Derives a
Hash[These[A, B]]
given aHash[A]
and aHash[B]
. - implicit def TheseIdentityBoth[A](implicit arg0: Associative[A]): IdentityBoth[[+b]These[A, b]]
The
IdentityBoth
instance forThese
. - implicit def TheseIdentityFlatten[A](implicit arg0: Associative[A]): IdentityFlatten[[+b]These[A, b]]
The
IdentityFlatten
instance forThese
. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def both[A, B](a: A, b: B): These[A, B]
Constucts a
Both
with anA
value and aB
value. - def bothNonEmptyChunk[A, B](a: A, b: B): These[NonEmptyChunk[A], B]
Constructs a
Both
with anA
value and aB
value, wrapping theA
value in aNonEmptyChunk
.Constructs a
Both
with anA
value and aB
value, wrapping theA
value in aNonEmptyChunk
. This is useful when usingThese
to model computations that may both succeed and fail to use theAssociative
instance forNonEmptyChunk
to accumulate all errors. - def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromEither[A, B](eab: Either[A, B]): These[A, B]
Constructs a
These
from anEither
value. - def fromOption[A](ob: Option[A]): These[Unit, A]
Constructs a
These
from anOption
value. - def fromOptions[A, B](opA: Option[A], opB: Option[B]): Option[These[A, B]]
Constructor from two options to an option of These.
- def fromValidation[E, A](validation: Validation[E, A]): These[NonEmptyChunk[E], A]
Constructs a
These
from aValidation
value. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def left[A](a: A): These[A, Nothing]
Constructs a
Left
with anA
value. - def leftNonEmptyChunk[A](a: A): These[NonEmptyChunk[A], Nothing]
Constructs a
Left
with anA
value, wrapping theA
value in aNonEmptyChunk
.Constructs a
Left
with anA
value, wrapping theA
value in aNonEmptyChunk
. This is useful when usingThese
to model computations that may both succeed and fail to use theAssociative
instance forNonEmptyChunk
to accumulate multiple errors. - final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def right[A](a: A): These[Nothing, A]
Constructs a
Right
with anA
value. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val unit: These[Nothing, Unit]
A
Right
with theUnit
value. - final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()