OptionAsyncShift

cps.runtime.OptionAsyncShift
class OptionAsyncShift[T] extends AsyncShift[Option[T]]

Attributes

Source
OptionAsyncShift.scala
Graph
Supertypes
trait AsyncShift[Option[T]]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def filter[F[_]](o: Option[T], m: CpsMonad[F])(p: T => F[Boolean]): F[Option[T]]

Attributes

Source
OptionAsyncShift.scala
def flatMap[F[_], U](o: Option[T], m: CpsMonad[F])(f: T => F[Option[U]]): F[Option[U]]

Attributes

Source
OptionAsyncShift.scala
def foreach[F[_], U](o: Option[T], m: CpsMonad[F])(f: T => F[U]): F[Unit]

Attributes

Source
OptionAsyncShift.scala
def getOrElse[F[_], U >: T](o: Option[T], m: CpsMonad[F])(default: () => F[U]): F[U]

Attributes

Source
OptionAsyncShift.scala
def map[F[_], U](o: Option[T], m: CpsMonad[F])(f: T => F[U]): F[Option[U]]

Attributes

Source
OptionAsyncShift.scala
def orElse[F[_], U >: T](o: Option[T], m: CpsMonad[F])(default: () => F[Option[U]]): F[Option[U]]

Attributes

Source
OptionAsyncShift.scala