EitherLeftProjectionAsyncShift

cps.runtime.util.EitherLeftProjectionAsyncShift
class EitherLeftProjectionAsyncShift[A, B] extends AsyncShift[LeftProjection[A, B]]

Attributes

Source
EitherAsyncShift.scala
Graph
Supertypes
trait AsyncShift[LeftProjection[A, B]]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def exists[F[_]](o: LeftProjection[A, B], m: CpsMonad[F])(p: A => F[Boolean]): F[Boolean]

Attributes

Source
EitherAsyncShift.scala
def filterToOption[F[_], B1](o: LeftProjection[A, B], m: CpsMonad[F])(p: A => F[Boolean]): F[Option[Either[A, B1]]]

Attributes

Source
EitherAsyncShift.scala
def flatMap[F[_], A1, B1 >: B](o: LeftProjection[A, B], m: CpsMonad[F])(f: A => F[Either[A1, B1]]): F[Either[A1, B1]]

Attributes

Source
EitherAsyncShift.scala
def forall[F[_]](o: LeftProjection[A, B], m: CpsMonad[F])(p: A => F[Boolean]): F[Boolean]

Attributes

Source
EitherAsyncShift.scala
def foreach[F[_], U](o: LeftProjection[A, B], m: CpsMonad[F])(f: A => F[U]): F[Unit]

Attributes

Source
EitherAsyncShift.scala
def getOrElse[F[_], A1 >: A](o: LeftProjection[A, B], m: CpsMonad[F])(default: () => F[A1]): F[A1]

Attributes

Source
EitherAsyncShift.scala
def map[F[_], A1](o: LeftProjection[A, B], m: CpsMonad[F])(f: A => F[A1]): F[Either[A1, B]]

Attributes

Source
EitherAsyncShift.scala