zipOrAccumulate

context(raise: Raise<NonEmptyList<Error>>)
inline fun <Error, A, B, C> zipOrAccumulate(action1: context(RaiseAccumulate<Error>) () -> A, action2: context(RaiseAccumulate<Error>) () -> B, block: (A, B) -> C): C

Accumulate the errors from running action1 and action2.

See the Arrow docs for more information over error accumulation and how to use it in validation.


context(raise: Raise<NonEmptyList<Error>>)
inline fun <Error, A, B, C, D> zipOrAccumulate(action1: context(RaiseAccumulate<Error>) () -> A, action2: context(RaiseAccumulate<Error>) () -> B, action3: context(RaiseAccumulate<Error>) () -> C, block: (A, B, C) -> D): D

Accumulate the errors from running action1, action2, and action3

See the Arrow docs for more information over error accumulation and how to use it in validation.


context(raise: Raise<NonEmptyList<Error>>)
inline fun <Error, A, B, C, D, E> zipOrAccumulate(action1: context(RaiseAccumulate<Error>) () -> A, action2: context(RaiseAccumulate<Error>) () -> B, action3: context(RaiseAccumulate<Error>) () -> C, action4: context(RaiseAccumulate<Error>) () -> D, block: (A, B, C, D) -> E): E

Accumulate the errors from running action1, action2, action3, and action4.

See the Arrow docs for more information over error accumulation and how to use it in validation.


context(raise: Raise<NonEmptyList<Error>>)
inline fun <Error, A, B, C, D, E, F> zipOrAccumulate(action1: context(RaiseAccumulate<Error>) () -> A, action2: context(RaiseAccumulate<Error>) () -> B, action3: context(RaiseAccumulate<Error>) () -> C, action4: context(RaiseAccumulate<Error>) () -> D, action5: context(RaiseAccumulate<Error>) () -> E, block: (A, B, C, D, E) -> F): F

Accumulate the errors from running action1, action2, action3, action4, and action5.

See the Arrow docs for more information over error accumulation and how to use it in validation.


context(raise: Raise<NonEmptyList<Error>>)
inline fun <Error, A, B, C, D, E, F, G> zipOrAccumulate(action1: context(RaiseAccumulate<Error>) () -> A, action2: context(RaiseAccumulate<Error>) () -> B, action3: context(RaiseAccumulate<Error>) () -> C, action4: context(RaiseAccumulate<Error>) () -> D, action5: context(RaiseAccumulate<Error>) () -> E, action6: context(RaiseAccumulate<Error>) () -> F, block: (A, B, C, D, E, F) -> G): G

Accumulate the errors from running action1, action2, action3, action4, action5, and action6.

See the Arrow docs for more information over error accumulation and how to use it in validation.


context(raise: Raise<NonEmptyList<Error>>)
inline fun <Error, A, B, C, D, E, F, G, H> zipOrAccumulate(action1: context(RaiseAccumulate<Error>) () -> A, action2: context(RaiseAccumulate<Error>) () -> B, action3: context(RaiseAccumulate<Error>) () -> C, action4: context(RaiseAccumulate<Error>) () -> D, action5: context(RaiseAccumulate<Error>) () -> E, action6: context(RaiseAccumulate<Error>) () -> F, action7: context(RaiseAccumulate<Error>) () -> G, block: (A, B, C, D, E, F, G) -> H): H

Accumulate the errors from running action1, action2, action3, action4, action5, action6, and action7.

See the Arrow docs for more information over error accumulation and how to use it in validation.


context(raise: Raise<NonEmptyList<Error>>)
inline fun <Error, A, B, C, D, E, F, G, H, I> zipOrAccumulate(action1: context(RaiseAccumulate<Error>) () -> A, action2: context(RaiseAccumulate<Error>) () -> B, action3: context(RaiseAccumulate<Error>) () -> C, action4: context(RaiseAccumulate<Error>) () -> D, action5: context(RaiseAccumulate<Error>) () -> E, action6: context(RaiseAccumulate<Error>) () -> F, action7: context(RaiseAccumulate<Error>) () -> G, action8: context(RaiseAccumulate<Error>) () -> H, block: (A, B, C, D, E, F, G, H) -> I): I

Accumulate the errors from running action1, action2, action3, action4, action5, action6, action7, and action8.

See the Arrow docs for more information over error accumulation and how to use it in validation.


context(raise: Raise<NonEmptyList<Error>>)
inline fun <Error, A, B, C, D, E, F, G, H, I, J> zipOrAccumulate(action1: context(RaiseAccumulate<Error>) () -> A, action2: context(RaiseAccumulate<Error>) () -> B, action3: context(RaiseAccumulate<Error>) () -> C, action4: context(RaiseAccumulate<Error>) () -> D, action5: context(RaiseAccumulate<Error>) () -> E, action6: context(RaiseAccumulate<Error>) () -> F, action7: context(RaiseAccumulate<Error>) () -> G, action8: context(RaiseAccumulate<Error>) () -> H, action9: context(RaiseAccumulate<Error>) () -> I, block: (A, B, C, D, E, F, G, H, I) -> J): J

Accumulate the errors from running action1, action2, action3, action4, action5, action6, action7, action8, and action9.

See the Arrow docs for more information over error accumulation and how to use it in validation.