all
Type members
Inherited types
Value members
Inherited methods
apply a function to an Eff value using the applicative instance
apply a function to an Eff value using the applicative instance
- Inherited from
- EffCreation
try to execute an action an report any issue
try to execute an action an report any issue
- Inherited from
- SafeInterpretation
catch possible left values
catch possible left values
- Inherited from
- EitherInterpretation
- Inherited from
- EvalInterpretation
Attempt to execute a safe action including finalizers
Attempt to execute a safe action including finalizers
- Inherited from
- SafeInterpretation
- Inherited from
- Batch
get a resource A and use it. Call the release function whether an exception is thrown or not when using the resource
get a resource A and use it. Call the release function whether an exception is thrown or not when using the resource
NOTE: Eff interpreters are independent so if there is an effect short-circuiting all computations inside 'use', like Option or Either then the release function will not be called. If you want to make sure that the release function is always called "at the end of the world and whatever happens" you need to call Eff.bracketLast
- Inherited from
- SafeInterpretation
bracket an action with one last action to execute at the end of the program
bracket an action with one last action to execute at the end of the program
- Inherited from
- EffCreation
catch and handle all wrong values
catch and handle all wrong values
- Inherited from
- ValidateInterpretation
catch and handle the first wrong value
catch and handle the first wrong value
- Inherited from
- ValidateInterpretation
catch and handle the last wrong value
catch and handle the last wrong value
- Inherited from
- ValidateInterpretation
catch and handle a possible left value
catch and handle a possible left value
- Inherited from
- EitherInterpretation
catch and handle a possible left value. The value is the combination of all failures in case of an applicative
catch and handle a possible left value. The value is the combination of all failures in case of an applicative
- Inherited from
- EitherInterpretation
create an Either effect from a value possibly throwing a Throwable
create an Either effect from a value possibly throwing a Throwable
- Inherited from
- EitherCreation
evaluate first action possibly having error effects
evaluate first action possibly having error effects
Execute a second action if the first one is not successful, based on the error
- Inherited from
- SafeInterpretation
catch and handle possible wrong values
catch and handle possible wrong values
- Inherited from
- ValidateInterpretation
use the internal effect as one of the stack effects
use the internal effect as one of the stack effects
- Inherited from
- EffCreation
peel-off the only present effect, using an Applicative instance where possible
peel-off the only present effect, using an Applicative instance where possible
- Inherited from
- EffInterpretation
peel-off the only present effect, using an Applicative instance where possible
peel-off the only present effect, using an Applicative instance where possible
- Inherited from
- EffInterpretation
An Eff[R, A] value can be transformed into an Eff[U, A] value provided that all the effects in R are also in U
An Eff[R, A] value can be transformed into an Eff[U, A] value provided that all the effects in R are also in U
- Inherited from
- EffInterpretation
run a state effect, with an initial value, return only the value
run a state effect, with an initial value, return only the value
- Inherited from
- StateInterpretation
run a state effect, with a Monoidal state
run a state effect, with a Monoidal state
- Inherited from
- StateInterpretation
run a safe effect but drop the finalizer errors
run a safe effect but drop the finalizer errors
- Inherited from
- SafeInterpretation
run a state effect, with an initial value, return only the state
run a state effect, with an initial value, return only the state
- Inherited from
- StateInterpretation
run a state effect, with a monoidal state, return only the state
run a state effect, with a monoidal state, return only the state
- Inherited from
- StateInterpretation
use the applicative instance of Eff to sequence a list of values, then flatten it
use the applicative instance of Eff to sequence a list of values, then flatten it
- Inherited from
- EffCreation
use the applicative instance of Eff to traverse a list of values, then flatten it
use the applicative instance of Eff to traverse a list of values, then flatten it
- Inherited from
- EffCreation
create an Either effect from a value possibly throwing an exception
create an Either effect from a value possibly throwing an exception
- Inherited from
- EitherCreation
create an Either effect from a single Either value
create an Either effect from a single Either value
- Inherited from
- EitherCreation
create a list effect from a list of values
create a list effect from a list of values
- Inherited from
- ListCreation
create an Option effect from a single Option value
create an Option effect from a single Option value
- Inherited from
- OptionCreation
get the current state value and map it with a function f
get the current state value and map it with a function f
- Inherited from
- StateCreation
ignore one possible exception that could be thrown
ignore one possible exception that could be thrown
- Inherited from
- SafeInterpretation
create a impure value from an union of effects and a continuation
create a impure value from an union of effects and a continuation
- Inherited from
- EffCreation
General lifting of a state effect into another from one stack to another. This will require a type annotation
General lifting of a state effect into another from one stack to another. This will require a type annotation
- Inherited from
- StateInterpretation
Lift a computation over a "small" state (for a subsystem) into a computation over a "bigger" state (for the full application state)
Lift a computation over a "small" state (for a subsystem) into a computation over a "bigger" state (for the full application state)
- Inherited from
- StateInterpretation
Update the error value, the stack of the Eff computation stays the same
Update the error value, the stack of the Eff computation stays the same
- Inherited from
- EitherInterpretation
modify the environment using a Kleisli[F, T, *]
modify the environment using a Kleisli[F, T, *]
- Inherited from
- ReaderCreation
Update the read value, the stack of the Eff computation stays the same
Update the read value, the stack of the Eff computation stays the same
- Inherited from
- ReaderInterpretation
Update the state value, the stack of the Eff computation stays the same
Update the state value, the stack of the Eff computation stays the same
- Inherited from
- StateInterpretation
Memoize an effect using a cache
Memoize an effect using a cache
all the consecutive effects M[X] leading to the computation of Eff[R, A] will be cached in the cache and retrieved from there if the Eff[R, A] computation is executed again
- Inherited from
- EffInterpretation
create an Either effect from a single Option value
create an Either effect from a single Option value
- Inherited from
- EitherCreation
evaluate first action possibly having exceptions
evaluate first action possibly having exceptions
Execute a second action if the first one is not successful
- Inherited from
- SafeInterpretation
evaluate first action possibly having error effects
evaluate first action possibly having error effects
Execute a second action if the first one is not successful and second is defined for the error
- Inherited from
- SafeInterpretation
- Inherited from
- EffCreation
base runner for an Eff value having no effects at all the execution is trampolined using Eval
base runner for an Eff value having no effects at all the execution is trampolined using Eval
- Inherited from
- EffInterpretation
run the Either effect, yielding E Either A
run the Either effect, yielding E Either A
- Inherited from
- EitherInterpretation
run the Either effect, handling E (with effects) and yielding A
run the Either effect, handling E (with effects) and yielding A
- Inherited from
- EitherInterpretation
run the Either effect, yielding E Either A and combine all Es
run the Either effect, yielding E Either A and combine all Es
- Inherited from
- EitherInterpretation
- Inherited from
- MemoInterpretation
run the validate effect, yielding a list of failures or A or both
run the validate effect, yielding a list of failures or A or both
- Inherited from
- ValidateInterpretation
run the validate effect, yielding a non-empty list of failures or A or both
run the validate effect, yielding a non-empty list of failures or A or both
- Inherited from
- ValidateInterpretation
interpret the Kleisli effect by providing an environment when required and translating the resulting target effect into the same stack
interpret the Kleisli effect by providing an environment when required and translating the resulting target effect into the same stack
- Inherited from
- ReaderInterpretation
run an effect stack starting with a list effect
run an effect stack starting with a list effect
- Inherited from
- ListInterpretation
run the validate effect, yielding a list of failures Either A
run the validate effect, yielding a list of failures Either A
- Inherited from
- ValidateInterpretation
run the validate effect, yielding a non-empty list of failures Either A
run the validate effect, yielding a non-empty list of failures Either A
- Inherited from
- ValidateInterpretation
Interpret the Option effect
Interpret the Option effect
Stop all computations if None is present once
- Inherited from
- OptionInterpretation
get the pure value if there is no effect
get the pure value if there is no effect
- Inherited from
- EffInterpretation
interpret the Reader effect by providing an environment when required
interpret the Reader effect by providing an environment when required
- Inherited from
- ReaderInterpretation
Run a safe effect
Run a safe effect
Collect finalizer exceptions if any
- Inherited from
- SafeInterpretation
run a state effect, with an initial value
run a state effect, with an initial value
- Inherited from
- StateInterpretation
run a state effect, with an initial value
run a state effect, with an initial value
- Inherited from
- StateInterpretation
run the validate effect, yielding a ValidatedNel
run the validate effect, yielding a ValidatedNel
- Inherited from
- ValidateInterpretation
run a writer effect and return the list of written values
run a writer effect and return the list of written values
This uses a ListBuffer internally to append values
- Inherited from
- WriterInterpretation
- Inherited from
- WriterInterpretation
More general fold of runWriter where we can use a fold to accumulate values in a mutable buffer
More general fold of runWriter where we can use a fold to accumulate values in a mutable buffer
- Inherited from
- WriterInterpretation
- Inherited from
- WriterInterpretation
- Inherited from
- WriterInterpretation
Run a side-effecting fold
Run a side-effecting fold
- Inherited from
- WriterInterpretation
- Inherited from
- SafeInterpretation
Memoize safe effects using a cache
Memoize safe effects using a cache
if this method is called with the same key the previous value will be returned
- Inherited from
- SafeInterpretation
create an Eff[R, A] value from an effectful value of type T[V] provided that T is one of the effects of R
create an Eff[R, A] value from an effectful value of type T[V] provided that T is one of the effects of R
- Inherited from
- EffCreation
use the applicative instance of Eff to sequence a list of values
use the applicative instance of Eff to sequence a list of values
- Inherited from
- EffCreation
create a list effect from a single value
create a list effect from a single value
- Inherited from
- ListCreation
evaluate first action possibly having error effects execute a second action whether the first is successful or not but keep track of finalizer exceptions
evaluate first action possibly having error effects execute a second action whether the first is successful or not but keep track of finalizer exceptions
- Inherited from
- SafeInterpretation
Translate an error effect to another one in the same stack a computation over a "bigger" error (for the full application)
Translate an error effect to another one in the same stack a computation over a "bigger" error (for the full application)
- Inherited from
- EitherInterpretation
Interpret a Reader effect by using another Reader effect in the same stack
Interpret a Reader effect by using another Reader effect in the same stack
- Inherited from
- ReaderInterpretation
use the applicative instance of Eff to traverse a list of values
use the applicative instance of Eff to traverse a list of values
- Inherited from
- EffCreation
check a correct condition
check a correct condition
- Inherited from
- ValidateCreation
create an Validate effect from a single Either value
create an Validate effect from a single Either value
- Inherited from
- ValidateCreation
create an Validate effect from a single Ior value
create an Validate effect from a single Ior value
- Inherited from
- ValidateCreation
create an Validate effect from a single Option value
create an Validate effect from a single Option value
- Inherited from
- ValidateCreation
check a correct value
check a correct value
- Inherited from
- ValidateCreation
create a list effect from a list of values
create a list effect from a list of values
- Inherited from
- ListCreation
create a correct value with warning
create a correct value with warning
- Inherited from
- ValidateCreation
evaluate first action possibly throwing exceptions
evaluate first action possibly throwing exceptions
Execute a second action if the first one is not successful, based on the exception
The final value type is the same as the original type
- Inherited from
- SafeInterpretation
attach a clean-up action to the continuation (if any)
attach a clean-up action to the continuation (if any)
- Inherited from
- EffCreation
evaluate first action possibly throwing exceptions
evaluate first action possibly throwing exceptions
Execute a second action if the first one is not successful and second is defined for the error
The final value type is the same as the original type
- Inherited from
- SafeInterpretation
Modify the type of the read value
Modify the type of the read value
This changes the stack of the Eff computation
- Inherited from
- EitherInterpretation
Modify the type of the read value
Modify the type of the read value
This changes the stack of the Eff computation
- Inherited from
- ReaderInterpretation
Deprecated and Inherited methods
catch and handle possible wrong values
catch and handle possible wrong values
- Deprecated
- Inherited from
- ValidateInterpretation
- Deprecated
[Since version ]
use EffApplicative- Inherited from
- EffImplicits
- Deprecated
[Since version ]
use EffMonad- Inherited from
- EffImplicits
Implicits
Inherited implicits
the monad error instance for Eval is useful for using detach on Eff[Fx1[Eval], A]
the monad error instance for Eval is useful for using detach on Eff[Fx1[Eval], A]
- Inherited from
- EvalInterpretation