Eager Effect Scope
Deprecated
Use the arrow.core.raise.Raise type instead, which is more general and can be used to and can be used to raise typed errors or _logical failures_ The Raise<R> type is source compatible, a simple find & replace of arrow.core.continuations.* to arrow.core.raise.* will do the trick.
Replace with
import arrow.core.raise.Raise
Raise<R>
Context of the EagerEffect DSL.
Functions
Folds Either into EagerEffect, by returning B or a shift with R.
Folds Validated into EagerEffect, by returning B or a shift with R.
Runs the EagerEffect to finish, returning B or shift in case of R.
Folds Option into EagerEffect, by returning B or a transforming None into R and shifting the result.
Folds Result into EagerEffect, by returning B or a transforming Throwable into R and shifting the result.
Inheritors
Extensions
Ensure that value is not null
. if it's non-null it will be smart-casted and returned if it's false
it will shift
with the provided value R. Monadic version of kotlin.requireNotNull.