final
case class
OneOr[F[_], A](run: \/[F[A], A]) extends Product with Serializable
Instance Constructors
-
new
OneOr(run: \/[F[A], A])
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
ap[B](f: OneOr[F, (A) ⇒ B])(implicit F: Apply[F]): OneOr[F, B]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
cobind[B](f: (OneOr[F, A]) ⇒ B)(implicit F: Cobind[F]): OneOr[F, B]
-
def
cojoin(implicit F: Cobind[F]): OneOr[F, OneOr[F, A]]
-
def
copoint(implicit F: Comonad[F]): A
-
-
def
finalize(): Unit
-
def
foldLeft[B](z: ⇒ B)(f: (B, A) ⇒ B)(implicit F: Foldable[F]): B
-
def
foldMap[B](f: (A) ⇒ B)(implicit M: Monoid[B], F: Foldable[F]): B
-
def
foldMap1[B](f: (A) ⇒ B)(implicit M: Semigroup[B], F: Foldable1[F]): B
-
def
foldMapLeft1[B](z: (A) ⇒ B)(f: (B, A) ⇒ B)(implicit F: Foldable1[F]): B
-
def
foldMapRight1[B](z: (A) ⇒ B)(f: (A, ⇒ B) ⇒ B)(implicit F: Foldable1[F]): B
-
def
foldRight[B](z: ⇒ B)(f: (A, ⇒ B) ⇒ B)(implicit F: Foldable[F]): B
-
final
def
getClass(): Class[_]
-
final
def
isInstanceOf[T0]: Boolean
-
def
map[B](f: (A) ⇒ B)(implicit F: Functor[F]): OneOr[F, B]
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
run: \/[F[A], A]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
traverse[G[_], B](f: (A) ⇒ G[B])(implicit T: Traverse[F], F: Applicative[G]): G[OneOr[F, B]]
-
def
traverse1[G[_], B](f: (A) ⇒ G[B])(implicit T: Traverse1[F], F: Apply[G]): G[OneOr[F, B]]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
7.0.3