RaiseAccumulate
Receiver type belonging to mapOrAccumulate. Allows binding both Either and EitherNel values for Either.Left types of Error. It extends Raise of Error, and allows working over Raise of NonEmptyList of Error as well.
Functions
Extract the Either.Right value of an Either. Any encountered Either.Left will be raised as a logical failure in this
Raise context. You can wrap the bind call in recover if you want to attempt to recover from any logical failure.
Invoke an EagerEffect inside this
Raise context. Any logical failure is raised in this
Raise context, and thus short-circuits the computation.
Extracts all the values in the NonEmptyList, raising every Either.Left as a logical failure. In other words, executed bind over every value in this NonEmptyList.
Extracts all the values in the NonEmptySet, raising every Either.Left as a logical failure. In other words, executed bind over every value in this NonEmptySet.
Extracts all the values in the Map, raising every Either.Left as a logical failure. In other words, executed bind over every value in this Map.
Invoke an EagerEffect inside this
Raise context. Any logical failure is raised in this
Raise context, and thus short-circuits the computation.
Accumulate the errors obtained by executing the transform over every element of NonEmptyList.
Accumulate the errors obtained by executing the transform over every element of NonEmptySet.
Transform every element of iterable using the given transform, or accumulate all the occurred errors using combine.
Execute the Raise context function resulting in A or any logical error of type OtherError, and transform any raised OtherError into Error, which is raised to the outer Raise.
Accumulate the errors from running action1, action2, action3, action4, and action5 using the given combine.
Accumulate the errors from running action1, action2, action3, action4, action5, and action6 using the given combine.
Accumulate the errors from running action1, action2, action3, action4, action5, action6, and action7.
Accumulate the errors from running action1, action2, action3, action4, action5, action6, and action7 using the given combine.
Accumulate the errors from running action1, action2, action3, action4, action5, action6, action7, and action8.
Accumulate the errors from running action1, action2, action3, action4, action5, action6, action7, and action8 using the given combine.
Accumulate the errors from running action1, action2, action3, action4, action5, action6, action7, action8, and action9.