scalaz

OneOr

final case class OneOr[F[_], A](run: \/[F[A], A]) extends Product with Serializable

Source
OneOr.scala
Since

7.0.3

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OneOr
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OneOr(run: \/[F[A], A])

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. def ap[B](f: OneOr[F, (A) ⇒ B])(implicit F: Apply[F]): OneOr[F, B]

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def cobind[B](f: (OneOr[F, A]) ⇒ B)(implicit F: Cobind[F]): OneOr[F, B]

  8. def cojoin(implicit F: Cobind[F]): OneOr[F, OneOr[F, A]]

  9. def copoint(implicit F: Comonad[F]): A

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def foldLeft[B](z: ⇒ B)(f: (B, A) ⇒ B)(implicit F: Foldable[F]): B

  13. def foldMap[B](f: (A) ⇒ B)(implicit M: Monoid[B], F: Foldable[F]): B

  14. def foldMap1[B](f: (A) ⇒ B)(implicit M: Semigroup[B], F: Foldable1[F]): B

  15. def foldMapLeft1[B](z: (A) ⇒ B)(f: (B, A) ⇒ B)(implicit F: Foldable1[F]): B

  16. def foldMapRight1[B](z: (A) ⇒ B)(f: (A, ⇒ B) ⇒ B)(implicit F: Foldable1[F]): B

  17. def foldRight[B](z: ⇒ B)(f: (A, ⇒ B) ⇒ B)(implicit F: Foldable[F]): B

  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. def map[B](f: (A) ⇒ B)(implicit F: Functor[F]): OneOr[F, B]

  21. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  24. val run: \/[F[A], A]

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def traverse[G[_], B](f: (A) ⇒ G[B])(implicit T: Traverse[F], F: Applicative[G]): G[OneOr[F, B]]

  27. def traverse1[G[_], B](f: (A) ⇒ G[B])(implicit T: Traverse1[F], F: Apply[G]): G[OneOr[F, B]]

  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 Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped