InDecisive

final case class InDecisive[T](result: T) extends Decision[Nothing, Nothing, T]
trait Decision[Nothing, Nothing, T]
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

inline def >>[R2, E2, B](f: => Decision[R2, E2, B]): Decision[R2, E2, B]
Inherited from:
Decision
Source:
Decision.scala
inline def >>=[R2, E2, B](f: T => Decision[R2, E2, B]): Decision[R2, E2, B]
Inherited from:
Decision
Source:
Decision.scala
def as[B](b: B): Decision[Nothing, Nothing, B]
Inherited from:
Decision
Source:
Decision.scala
@targetName("assertEither")
def assert[R2, B](f: T => Either[R2, B]): Decision[R2, Nothing, T]

Asserts output using an Either without changing it

Asserts output using an Either without changing it

Inherited from:
Decision
Source:
Decision.scala
@targetName("assertEitherNec")
def assert[R2, B](f: T => EitherNec[R2, B]): Decision[R2, Nothing, T]

Asserts output using an EitherNec without changing it

Asserts output using an EitherNec without changing it

Inherited from:
Decision
Source:
Decision.scala
def assert[R2, B](f: T => ValidatedNec[R2, B]): Decision[R2, Nothing, T]

Asserts output using a ValidatedNec without changing it

Asserts output using a ValidatedNec without changing it

Inherited from:
Decision
Source:
Decision.scala
def flatMap[R2, E2, B](f: T => Decision[R2, E2, B]): Decision[R2, E2, B]

binds another decision to this one, creates a new decision

binds another decision to this one, creates a new decision

Inherited from:
Decision
Source:
Decision.scala
def flatTap[R2, E2, B](f: T => Decision[R2, E2, B]): Decision[R2, E2, T]
Inherited from:
Decision
Source:
Decision.scala

whether is accepted or not

whether is accepted or not

Inherited from:
Decision
Source:
Decision.scala

whether is rejected or not

whether is rejected or not

Inherited from:
Decision
Source:
Decision.scala
def map[B](f: T => B): Decision[Nothing, Nothing, B]

creates a new decision that changes the output value of this one

creates a new decision that changes the output value of this one

Inherited from:
Decision
Source:
Decision.scala
Inherited from:
Product
def toEither: EitherNec[Nothing, T]

Ignores events and creates an Either

Ignores events and creates an Either

Inherited from:
Decision
Source:
Decision.scala

Ignores events and errors and creates an Option that contains program output

Ignores events and errors and creates an Option that contains program output

Inherited from:
Decision
Source:
Decision.scala
def toValidated: ValidatedNec[Nothing, T]

Ignores events and creates a ValidatedNec

Ignores events and creates a ValidatedNec

Inherited from:
Decision
Source:
Decision.scala
@targetName("validateEither")
def validate[R2, B](f: T => Either[R2, B]): Decision[R2, Nothing, B]

Validates output using an Either

Validates output using an Either

Inherited from:
Decision
Source:
Decision.scala
@targetName("validateEitherNec")
def validate[R2, B](f: T => EitherNec[R2, B]): Decision[R2, Nothing, B]

Validates output using an EitherNec

Validates output using an EitherNec

Inherited from:
Decision
Source:
Decision.scala
def validate[R2, B](f: T => ValidatedNec[R2, B]): Decision[R2, Nothing, B]

Validates output using a ValidatedNec

Validates output using a ValidatedNec

Inherited from:
Decision
Source:
Decision.scala
def visit[B](fr: Type[Nothing] => B, fa: T => B): B

traverses this decision, run fr if there are errors and runs fa if there is some output

traverses this decision, run fr if there are errors and runs fa if there is some output

Inherited from:
Decision
Source:
Decision.scala
def void: Decision[Nothing, Nothing, Unit]

Ignores output value

Ignores output value

Inherited from:
Decision
Source:
Decision.scala