Object/Class

cats.data

Ior

Related Docs: class Ior | package data

Permalink

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
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

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

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

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

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

    Permalink
    Definition Classes
    IorFunctions
  6. def clone(): AnyRef

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

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

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

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

    Permalink

    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
  11. final def getClass(): Class[_]

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    Permalink
    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