Class/Object

scalaz

Coproduct

Related Docs: object Coproduct | package scalaz

Permalink

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

F on the left, and G on the right, of scalaz.\/.

run

The underlying scalaz.\/.

Source
Coproduct.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Coproduct
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

    run

    The underlying scalaz.\/.

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 clone(): AnyRef

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

    Permalink
  7. def contramap[B](f: (B) ⇒ A)(implicit F: Contravariant[F], G: Contravariant[G]): Coproduct[F, G, B]

    Permalink
  8. def copoint(implicit F: Comonad[F], G: Comonad[G]): A

    Permalink
  9. def duplicate(implicit F: Cobind[F], G: Cobind[G]): Coproduct[F, G, Coproduct[F, G, A]]

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

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

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

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

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

    Permalink
  15. def foldRight[Z](z: ⇒ Z)(f: (A, ⇒ Z) ⇒ Z)(implicit F: Foldable[F], G: Foldable[G]): Z

    Permalink
  16. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    Any
  18. def isLeft: Boolean

    Permalink
  19. def isRight: Boolean

    Permalink
  20. def map[B](f: (A) ⇒ B)(implicit F: Functor[F], G: Functor[G]): Coproduct[F, G, B]

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

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

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

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

    Permalink

    The underlying scalaz.\/.

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

    Permalink
    Definition Classes
    AnyRef
  26. def traverse[X[_], B](g: (A) ⇒ X[B])(implicit F: Traverse[F], G: Traverse[G], A: Applicative[X]): X[Coproduct[F, G, B]]

    Permalink
  27. def traverse1[X[_], B](g: (A) ⇒ X[B])(implicit F: Traverse1[F], G: Traverse1[G], A: Apply[X]): X[Coproduct[F, G, B]]

    Permalink
  28. def unary_~: Coproduct[G, F, A]

    Permalink
  29. def validation: Validation[F[A], G[A]]

    Permalink
  30. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped