final
case class
Coproduct[F[_], G[_], A](run: \/[F[A], G[A]]) extends Product with Serializable
Instance Constructors
-
new
Coproduct(run: \/[F[A], G[A]])
Value Members
-
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
cobind[B](f: (Coproduct[F, G, A]) ⇒ B)(implicit F: Cobind[F], G: Cobind[G]): Coproduct[F, G, B]
-
-
def
copoint(implicit F: Comonad[F], G: Comonad[G]): A
-
-
-
def
finalize(): Unit
-
def
fold[H[_]](f: ~>[F, H], g: ~>[G, H]): H[A]
-
def
foldMap[B](f: (A) ⇒ B)(implicit F: Foldable[F], G: Foldable[G], M: Monoid[B]): B
-
def
foldMap1[B](f: (A) ⇒ B)(implicit F: Foldable1[F], G: Foldable1[G], M: Semigroup[B]): B
-
def
foldMapRight1[B](z: (A) ⇒ B)(f: (A, ⇒ B) ⇒ B)(implicit F: Foldable1[F], G: Foldable1[G]): B
-
def
foldRight[Z](z: ⇒ Z)(f: (A, ⇒ Z) ⇒ Z)(implicit F: Foldable[F], G: Foldable[G]): Z
-
final
def
getClass(): Class[_]
-
final
def
isInstanceOf[T0]: Boolean
-
-
-
def
map[B](f: (A) ⇒ B)(implicit F: Functor[F], G: Functor[G]): Coproduct[F, G, B]
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
run: \/[F[A], G[A]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
traverse[X[_], B](g: (A) ⇒ X[B])(implicit F: Traverse[F], G: Traverse[G], A: Applicative[X]): X[Coproduct[F, G, B]]
-
def
traverse1[X[_], B](g: (A) ⇒ X[B])(implicit F: Traverse1[F], G: Traverse1[G], A: Apply[X]): X[Coproduct[F, G, B]]
-
def
unary_~: Coproduct[G, F, A]
-
def
validation: Validation[F[A], G[A]]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
F
on the left, andG
on the right, of scalaz.\/.The underlying scalaz.\/.