final class SeparateOps[F[_], G[_, _], A, B] extends AnyVal
- Alphabetic
- By Inheritance
- SeparateOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SeparateOps(fgab: F[G[A, B]])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
separate(implicit F: Monad[F], A: Alternative[F], G: Bifoldable[G]): (F[A], F[B])
- See also
Alternative.separate Example:
scala> import cats.implicits._ scala> val l: List[Either[String, Int]] = List(Right(1), Left("error")) scala> l.separate res0: (List[String], List[Int]) = (List(error),List(1))
-
def
separateFoldable(implicit F: Foldable[F], A: Alternative[F], G: Bifoldable[G]): (F[A], F[B])
- See also
Alternative.separateFoldable Example:
scala> import cats.implicits._ scala> val l: List[Either[String, Int]] = List(Right(1), Left("error")) scala> l.separateFoldable res0: (List[String], List[Int]) = (List(error),List(1))
-
def
toString(): String
- Definition Classes
- Any