Functions
Link copied to clipboard
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.
Link copied to clipboard
Invoke an EagerEffect inside this Raise context. Any logical failure is raised in this Raise context, and thus short-circuits the computation.
Link copied to clipboard
Link copied to clipboard
open fun <A, B, C> zipOrAccumulate(semigroup: Semigroup<E>, action1: Raise<E>.() -> A, action2: Raise<E>.() -> B, block: Raise<E>.(A, B) -> C): C
open fun <A, B, C, D> zipOrAccumulate(semigroup: Semigroup<E>, action1: Raise<E>.() -> A, action2: Raise<E>.() -> B, action3: Raise<E>.() -> C, block: Raise<E>.(A, B, C) -> D): D
Extensions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <R, A, B, C> Raise<NonEmptyList<R>>.zipOrAccumulate(crossinline action1: Raise<R>.() -> A, crossinline action2: Raise<R>.() -> B, crossinline block: Raise<R>.(A, B) -> C): C
inline fun <R, A, B, C, D> Raise<NonEmptyList<R>>.zipOrAccumulate(crossinline action1: Raise<R>.() -> A, crossinline action2: Raise<R>.() -> B, crossinline action3: Raise<R>.() -> C, crossinline block: Raise<R>.(A, B, C) -> D): D