cats.data

Ior

object Ior extends IorInstances with IorFunctions with Serializable

Linear Supertypes
Serializable, Serializable, IorFunctions, IorInstances, IorInstances0, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Ior
  2. Serializable
  3. Serializable
  4. IorFunctions
  5. IorInstances
  6. IorInstances0
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. final case class Both[+A, +B](a: A, b: B) extends Ior[A, B] with Product with Serializable

  2. final case class Left[+A](a: A) extends Ior[A, Nothing] with Product with Serializable

  3. final case class Right[+B](b: B) extends Ior[Nothing, B] with Product with Serializable

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def both[A, B](a: A, b: B): Ior[A, B]

    Definition Classes
    IorFunctions
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def fromOptions[A, B](oa: Option[A], ob: Option[B]): Option[Ior[A, B]]

    Create an Ior from two Options if at least one of them is defined.

    Create an Ior from two Options if at least one of them is defined.

    oa

    an element (optional) for the left side of the Ior

    ob

    an element (optional) for the right side of the Ior

    returns

    None if both oa and ob are None. Otherwise Some wrapping an Ior.Left, Ior.Right, or Ior.Both if oa, ob, or both are defined (respectively).

    Definition Classes
    IorFunctions
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. implicit def iorBifunctor: Bifunctor[Ior]

    Definition Classes
    IorInstances
  16. implicit def iorEq[A, B](implicit arg0: Eq[A], arg1: Eq[B]): Eq[Ior[A, B]]

    Definition Classes
    IorInstances
  17. implicit def iorInstances[A]: Traverse[[β]Ior[A, β]] with Functor[[β]Ior[A, β]]

    Definition Classes
    IorInstances0
  18. implicit def iorMonad[A](implicit arg0: Semigroup[A]): Monad[[β]Ior[A, β]]

    Definition Classes
    IorInstances
  19. implicit def iorShow[A, B](implicit arg0: Show[A], arg1: Show[B]): Show[Ior[A, B]]

    Definition Classes
    IorInstances
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def left[A, B](a: A): Ior[A, B]

    Definition Classes
    IorFunctions
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. def right[A, B](b: B): Ior[A, B]

    Definition Classes
    IorFunctions
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from IorFunctions

Inherited from IorInstances

Inherited from IorInstances0

Inherited from AnyRef

Inherited from Any

Ungrouped