AllSyntax
trait AllSyntax
- Source:
- Syntax.scala
Extensions
Inherited extensions
extension (app: Edomaton[Id, _, _, _, _, _])
extension [F[_], C, S, E, R, N](app: Edomaton[F, RequestContext[C, S], R, E, N, Unit])
extension [F[_], C, S, E, R, N, T](app: Edomaton[F, RequestContext[C, S], R, E, N, T])
extension [State, Event, Rejection](self: State)
Applies events to state, returns new state
Applies events to state, returns new state
- Inherited from:
- ModelSyntax (hidden)
- Source:
- Model.scala
extension [R, T](self: ValidatedNec[R, T])
extension [R, T](self: Either[R, T])
extension [State, Event, Rejection](self: State)(using m: ModelTC[State, Event, Rejection])
Helps with deciding based on state and then applying the decision
Helps with deciding based on state and then applying the decision
- Inherited from:
- ModelSyntax (hidden)
- Source:
- Model.scala
def decideReturn[T](f: State => Decision[Rejection, Event, T]): Decision[Rejection, Event, (State, T)]
Helps with deciding based on state and then applying the decision
Helps with deciding based on state and then applying the decision
- Inherited from:
- ModelSyntax (hidden)
- Source:
- Model.scala
like perform, but also returns initial output
like perform, but also returns initial output
- Inherited from:
- ModelSyntax (hidden)
- Source:
- Model.scala
Returns a decision that has applied this decision and folded state, so the output is new state
Returns a decision that has applied this decision and folded state, so the output is new state
- Inherited from:
- ModelSyntax (hidden)
- Source:
- Model.scala
extension [T](self: Option[T])
extension [T](value: T)