monadOutcome

libretto.testing.TestKit.monadOutcome$
object monadOutcome extends Monad[Outcome]

Attributes

Graph
Supertypes
trait Monad[Outcome]
trait Applicative[Outcome]
trait Zippable[Tuple2, Outcome]
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Concrete methods

override def flatMap[A, B](fa: Outcome[A])(f: A => Outcome[B]): Outcome[B]

Attributes

Definition Classes
Monad
override def pure[A](a: A): Outcome[A]

Attributes

Definition Classes
Monad -> Applicative

Inherited methods

override def ap[A, B](ff: Outcome[A => B])(fa: Outcome[A]): F[B]

Attributes

Definition Classes
Monad -> Applicative
Inherited from:
Monad
def flatMap2[A, B, C](fa: Outcome[A], fb: Outcome[B])(f: (A, B) => Outcome[C]): F[C]

Attributes

Inherited from:
Monad
def flatten[A](a: Outcome[Outcome[A]]): F[A]

Attributes

Inherited from:
Monad
override def map[A, B](fa: Outcome[A], f: A => B): F[B]

Attributes

Definition Classes
Monad -> Applicative
Inherited from:
Monad
def map2[A, B, R](fa: Outcome[A], fb: Outcome[B])(f: (A, B) => R): F[R]

Attributes

Inherited from:
Applicative
def mapN[A, B, C, R](fa: Outcome[A], fb: Outcome[B], fc: Outcome[C])(f: (A, B, C) => R): F[R]

Attributes

Inherited from:
Applicative
def zip[A, B](fa: Outcome[A], fb: Outcome[B]): F[(A, B)]

Attributes

Inherited from:
Applicative

Extensions

Inherited extensions

extension [A](fa: F[A])(fa: Outcome[A])
def map[B](f: A => B): F[B]

Attributes

Inherited from:
Applicative