final case class OneOr[F[_], A](run: \/[F[A], A]) extends Product with Serializable
- Source
- OneOr.scala
- Since
7.0.3
- Alphabetic
- By Inheritance
- OneOr
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ap[B](f: OneOr[F, (A) ⇒ B])(implicit F: Apply[F]): OneOr[F, B]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- 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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- 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[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[B](f: (A) ⇒ B)(implicit F: Functor[F]): OneOr[F, B]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val run: \/[F[A], A]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- 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
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )