TryAsyncShift

cps.runtime.util.TryAsyncShift
class TryAsyncShift[T] extends AsyncShift[Try[T]]

Attributes

Source
TryAsyncShift.scala
Graph
Supertypes
trait AsyncShift[Try[T]]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

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

Attributes

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

Attributes

Source
TryAsyncShift.scala
def fold[F[_], U](o: Try[T], m: CpsMonad[F])(fa: Throwable => F[U], fb: T => F[U]): F[U]

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Source
TryAsyncShift.scala
def recover[F[_], U >: T](o: Try[T], m: CpsMonad[F])(pf: PartialFunction[Throwable, F[U]]): F[Try[U]]

Attributes

Source
TryAsyncShift.scala
def recoverWith[F[_], U >: T](o: Try[T], m: CpsMonad[F])(pf: PartialFunction[Throwable, F[Try[U]]]): F[Try[U]]

Attributes

Source
TryAsyncShift.scala