Action

org.specs2.control.Action$
See theAction companion class
object Action

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Action.type

Members list

Type members

Classlikes

object ActionApplicative extends Applicative[Action]

Attributes

Supertypes
trait Applicative[Action]
trait Functor[Action]
class Object
trait Matchable
class Any
Self type
object ActionMonad extends Monad[Action]

Attributes

Supertypes
trait Monad[Action]
trait Applicative[Action]
trait Functor[Action]
class Object
trait Matchable
class Any
Show all
Self type
object FinalizedAction extends Safe[Action]

Attributes

Supertypes
trait Safe[Action]
class Object
trait Matchable
class Any
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def checkThat[A](a: => A, condition: Boolean, failureMessage: String): Action[A]
def either[A](ta: => Either[Throwable, A]): Action[A]
def exception[A](t: Throwable): Action[A]
def fail[A](message: String): Action[A]
def future[A](f: => Future[A]): Action[A]
def protect[A](a: => A): Action[A]
def pure[A](a: => A): Action[A]
def unit: Action[Unit]

Givens

Givens

given ActionMonad: ActionMonad.type
given actionAsResult[T](using evidence$1: AsResult[T]): actionAsResult[T]
given given_NaturalTransformation_Id_Action: NaturalTransformation[Id, Action]