all
Attributes
- Source:
- all.scala
- Graph
- Supertypes
- trait EffImplicitstrait EffCreationtrait EffInterpretationtrait Batchtrait MemoEffecttrait MemoInterpretationtrait MemoCreationtrait MemoTypestrait SafeEffecttrait SafeInterpretationtrait SafeCreationtrait SafeTypestrait ChooseEffecttrait ChooseInterpretationtrait ChooseCreationtrait ValidateEffecttrait ValidateInterpretationtrait ValidateCreationtrait EitherEffecttrait EitherInterpretationtrait EitherCreationtrait ListEffecttrait ListInterpretationtrait ListCreationtrait OptionEffecttrait OptionInterpretationtrait OptionCreationtrait EvalEffecttrait EvalInterpretationtrait EvalCreationtrait EvalTypestrait StateEffecttrait StateInterpretationtrait StateCreationtrait WriterEffecttrait WriterInterpretationtrait WriterCreationtrait ReaderEffecttrait ReaderInterpretationtrait ReaderCreationclass Objecttrait Matchableclass Any
- Self type
- all.type
Members list
Type members
Inherited types
Attributes
- Inherited from:
- SafeInterpretation
- Source:
- SafeEffect.scala
Attributes
- Inherited from:
- EitherCreation
- Source:
- EitherEffect.scala
Attributes
- Inherited from:
- ChooseCreation
- Source:
- Choose.scala
Attributes
- Inherited from:
- EvalTypes
- Source:
- EvalEffect.scala
Attributes
- Inherited from:
- ListCreation
- Source:
- ListEffect.scala
Attributes
- Inherited from:
- MemoTypes
- Source:
- MemoEffect.scala
Attributes
- Inherited from:
- OptionCreation
- Source:
- OptionEffect.scala
Attributes
- Inherited from:
- SafeTypes
- Source:
- SafeEffect.scala
Attributes
- Inherited from:
- EitherCreation
- Source:
- EitherEffect.scala
Attributes
- Inherited from:
- ChooseCreation
- Source:
- Choose.scala
Attributes
- Inherited from:
- EvalTypes
- Source:
- EvalEffect.scala
Attributes
- Inherited from:
- ListCreation
- Source:
- ListEffect.scala
Attributes
- Inherited from:
- MemoTypes
- Source:
- MemoEffect.scala
Attributes
- Inherited from:
- OptionCreation
- Source:
- OptionEffect.scala
Attributes
- Inherited from:
- SafeTypes
- Source:
- SafeEffect.scala
Attributes
- Inherited from:
- EitherCreation
- Source:
- EitherEffect.scala
Value members
Inherited methods
Attributes
- Inherited from:
- EffImplicits
- Source:
- Eff.scala
Attributes
- Inherited from:
- EitherInterpretation
- Source:
- EitherEffect.scala
Attributes
- Inherited from:
- WriterInterpretation
- Source:
- WriterEffect.scala
Attributes
- Inherited from:
- WriterInterpretation
- Source:
- WriterEffect.scala
Attributes
- Inherited from:
- WriterInterpretation
- Source:
- WriterEffect.scala
apply a function to an Eff value using the applicative instance
apply a function to an Eff value using the applicative instance
Attributes
- Inherited from:
- EffCreation
- Source:
- Eff.scala
get the environment
try to execute an action an report any issue
try to execute an action an report any issue
Attributes
- Inherited from:
- SafeInterpretation
- Source:
- SafeEffect.scala
catch possible left values
Attributes
- Inherited from:
- EvalInterpretation
- Source:
- EvalEffect.scala
Attempt to execute a safe action including finalizers
Attempt to execute a safe action including finalizers
Attributes
- Inherited from:
- SafeInterpretation
- Source:
- SafeEffect.scala
Attributes
- Inherited from:
- Batch
- Source:
- Batch.scala
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
Attributes
- Inherited from:
- SafeInterpretation
- Source:
- SafeEffect.scala
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
Attributes
- Inherited from:
- EffCreation
- Source:
- Eff.scala
catch and handle all wrong values
catch and handle all wrong values
Attributes
- Inherited from:
- ValidateInterpretation
- Source:
- ValidateEffect.scala
catch and handle the first wrong value
catch and handle the first wrong value
Attributes
- Inherited from:
- ValidateInterpretation
- Source:
- ValidateEffect.scala
catch and handle the last wrong value
catch and handle the last wrong value
Attributes
- Inherited from:
- ValidateInterpretation
- Source:
- ValidateEffect.scala
catch and handle a possible left value
catch and handle a possible left value
Attributes
- Inherited from:
- EitherInterpretation
- Source:
- EitherEffect.scala
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
Attributes
- Inherited from:
- EitherInterpretation
- Source:
- EitherEffect.scala
create an Either effect from a value possibly throwing a Throwable
create an Either effect from a value possibly throwing a Throwable
Attributes
- Inherited from:
- EitherCreation
- Source:
- EitherEffect.scala
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
Attributes
- Inherited from:
- SafeInterpretation
- Source:
- SafeEffect.scala
catch and handle possible wrong values
catch and handle possible wrong values
Attributes
- Inherited from:
- ValidateInterpretation
- Source:
- ValidateEffect.scala
Attributes
- Inherited from:
- ChooseCreation
- Source:
- Choose.scala
use the internal effect as one of the stack effects
use the internal effect as one of the stack effects
Attributes
- Inherited from:
- EffCreation
- Source:
- Eff.scala
create a correct value
Attributes
- Inherited from:
- EvalCreation
- Source:
- EvalEffect.scala
Attributes
- Inherited from:
- EvalCreation
- Source:
- EvalEffect.scala
peel-off the only present effect
peel-off the only present effect
peel-off the only present effect, using an Applicative instance where possible
peel-off the only present effect, using an Applicative instance where possible
Attributes
- Inherited from:
- EffInterpretation
- Source:
- Eff.scala
peel-off the only present effect, using an Applicative instance where possible
peel-off the only present effect, using an Applicative instance where possible
Attributes
- Inherited from:
- EffInterpretation
- Source:
- Eff.scala
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
Attributes
- Inherited from:
- EffInterpretation
- Source:
- Eff.scala
create a list effect with no values
Attributes
- Inherited from:
- SafeCreation
- Source:
- SafeEffect.scala
run a state effect, with an initial value, return only the value
run a state effect, with an initial value, return only the value
Attributes
- Inherited from:
- StateInterpretation
- Source:
- StateEffect.scala
run a state effect, with a Monoidal state
run a state effect, with a Monoidal state
Attributes
- Inherited from:
- StateInterpretation
- Source:
- StateEffect.scala
Attributes
- Inherited from:
- SafeCreation
- Source:
- SafeEffect.scala
run a safe effect but drop the finalizer errors
run a safe effect but drop the finalizer errors
Attributes
- Inherited from:
- SafeInterpretation
- Source:
- SafeEffect.scala
run a state effect, with an initial value, return only the state
run a state effect, with an initial value, return only the state
Attributes
- Inherited from:
- StateInterpretation
- Source:
- StateEffect.scala
run a state effect, with a monoidal state, return only the state
run a state effect, with a monoidal state, return only the state
Attributes
- Inherited from:
- StateInterpretation
- Source:
- StateEffect.scala
Attributes
- Inherited from:
- SafeCreation
- Source:
- SafeEffect.scala
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
Attributes
- Inherited from:
- EffCreation
- Source:
- Eff.scala
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
Attributes
- Inherited from:
- EffCreation
- Source:
- Eff.scala
create an Either effect from a value possibly throwing an exception
create an Either effect from a value possibly throwing an exception
Attributes
- Inherited from:
- EitherCreation
- Source:
- EitherEffect.scala
create an Either effect from a single Either value
create an Either effect from a single Either value
Attributes
- Inherited from:
- EitherCreation
- Source:
- EitherEffect.scala
create a list effect from a list of values
create a list effect from a list of values
Attributes
- Inherited from:
- ListCreation
- Source:
- ListEffect.scala
create an Option effect from a single Option value
create an Option effect from a single Option value
Attributes
- Inherited from:
- OptionCreation
- Source:
- OptionEffect.scala
get the current state value
Attributes
- Inherited from:
- MemoCreation
- Source:
- MemoEffect.scala
get the current state value and map it with a function f
get the current state value and map it with a function f
Attributes
- Inherited from:
- StateCreation
- Source:
- StateEffect.scala
ignore one possible exception that could be thrown
ignore one possible exception that could be thrown
Attributes
- Inherited from:
- SafeInterpretation
- Source:
- SafeEffect.scala
create a delayed impure value
create a delayed impure value
create a impure value from an union of effects and a continuation
create a impure value from an union of effects and a continuation
Attributes
- Inherited from:
- EffCreation
- Source:
- Eff.scala
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
Attributes
- Inherited from:
- StateInterpretation
- Source:
- StateEffect.scala
create a failed value
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)
Attributes
- Inherited from:
- StateInterpretation
- Source:
- StateEffect.scala
modify the environment
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
Attributes
- Inherited from:
- EitherInterpretation
- Source:
- EitherEffect.scala
modify the environment using a Kleisli[F, T, *]
modify the environment using a Kleisli[F, T, *]
Attributes
- Inherited from:
- ReaderCreation
- Source:
- ReaderEffect.scala
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
Attributes
- Inherited from:
- ReaderInterpretation
- Source:
- ReaderEffect.scala
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
Attributes
- Inherited from:
- StateInterpretation
- Source:
- StateEffect.scala
Attributes
- Inherited from:
- MemoCreation
- Source:
- MemoEffect.scala
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
Attributes
- Inherited from:
- EffInterpretation
- Source:
- Eff.scala
modify the current state value
no value returned
Attributes
- Inherited from:
- EvalCreation
- Source:
- EvalEffect.scala
create an Either effect from a single Option value
create an Either effect from a single Option value
Attributes
- Inherited from:
- EitherCreation
- Source:
- EitherEffect.scala
evaluate first action possibly having exceptions
evaluate first action possibly having exceptions
Execute a second action if the first one is not successful
Attributes
- Inherited from:
- SafeInterpretation
- Source:
- SafeEffect.scala
Attributes
- Inherited from:
- ChooseCreation
- Source:
- Choose.scala
Attributes
- Inherited from:
- SafeCreation
- Source:
- SafeEffect.scala
create a pure value
store a new state value
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
Attributes
- Inherited from:
- SafeInterpretation
- Source:
- SafeEffect.scala
Attributes
- Inherited from:
- EffCreation
- Source:
- Eff.scala
create a correct value
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
Attributes
- Inherited from:
- EffInterpretation
- Source:
- Eff.scala
Attributes
- Inherited from:
- ChooseInterpretation
- Source:
- Choose.scala
run the Either effect, yielding E Either A
run the Either effect, yielding E Either A
Attributes
- Inherited from:
- EitherInterpretation
- Source:
- EitherEffect.scala
run the Either effect, handling E (with effects) and yielding A
run the Either effect, handling E (with effects) and yielding A
Attributes
- Inherited from:
- EitherInterpretation
- Source:
- EitherEffect.scala
run the Either effect, yielding E Either A and combine all Es
run the Either effect, yielding E Either A and combine all Es
Attributes
- Inherited from:
- EitherInterpretation
- Source:
- EitherEffect.scala
Attributes
- Inherited from:
- EvalInterpretation
- Source:
- EvalEffect.scala
Attributes
- Inherited from:
- MemoInterpretation
- Source:
- MemoEffect.scala
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
Attributes
- Inherited from:
- ValidateInterpretation
- Source:
- ValidateEffect.scala
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
Attributes
- Inherited from:
- ValidateInterpretation
- Source:
- ValidateEffect.scala
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
Attributes
- Inherited from:
- ReaderInterpretation
- Source:
- ReaderEffect.scala
run an effect stack starting with a list effect
run an effect stack starting with a list effect
Attributes
- Inherited from:
- ListInterpretation
- Source:
- ListEffect.scala
run the validate effect, yielding a list of failures Either A
run the validate effect, yielding a list of failures Either A
Attributes
- Inherited from:
- ValidateInterpretation
- Source:
- ValidateEffect.scala
Attributes
- Inherited from:
- MemoInterpretation
- Source:
- MemoEffect.scala
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
Attributes
- Inherited from:
- ValidateInterpretation
- Source:
- ValidateEffect.scala
Interpret the Option effect
Interpret the Option effect
Stop all computations if None is present once
Attributes
- Inherited from:
- OptionInterpretation
- Source:
- OptionEffect.scala
get the pure value if there is no effect
interpret the Reader effect by providing an environment when required
interpret the Reader effect by providing an environment when required
Attributes
- Inherited from:
- ReaderInterpretation
- Source:
- ReaderEffect.scala
Run a safe effect
Run a safe effect
Collect finalizer exceptions if any
Attributes
- Inherited from:
- SafeInterpretation
- Source:
- SafeEffect.scala
run a state effect, with an initial value
run a state effect, with an initial value
Attributes
- Inherited from:
- StateInterpretation
- Source:
- StateEffect.scala
run a state effect, with an initial value
run a state effect, with an initial value
Attributes
- Inherited from:
- StateInterpretation
- Source:
- StateEffect.scala
run the validate effect, yielding a ValidatedNel
run the validate effect, yielding a ValidatedNel
Attributes
- Inherited from:
- ValidateInterpretation
- Source:
- ValidateEffect.scala
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
Attributes
- Inherited from:
- WriterInterpretation
- Source:
- WriterEffect.scala
Attributes
- Inherited from:
- WriterInterpretation
- Source:
- WriterEffect.scala
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
Attributes
- Inherited from:
- WriterInterpretation
- Source:
- WriterEffect.scala
Attributes
- Inherited from:
- WriterInterpretation
- Source:
- WriterEffect.scala
Attributes
- Inherited from:
- WriterInterpretation
- Source:
- WriterEffect.scala
Run a side-effecting fold
Attributes
- Inherited from:
- SafeInterpretation
- Source:
- SafeEffect.scala
Attributes
- Inherited from:
- SafeInterpretation
- Source:
- SafeEffect.scala
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
Attributes
- Inherited from:
- SafeInterpretation
- Source:
- SafeEffect.scala
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
Attributes
- Inherited from:
- EffCreation
- Source:
- Eff.scala
use the applicative instance of Eff to sequence a list of values
use the applicative instance of Eff to sequence a list of values
Attributes
- Inherited from:
- EffCreation
- Source:
- Eff.scala
create a list effect from a single value
create a list effect from a single value
Attributes
- Inherited from:
- ListCreation
- Source:
- ListEffect.scala
a value is returned
write a given value
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
Attributes
- Inherited from:
- SafeInterpretation
- Source:
- SafeEffect.scala
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)
Attributes
- Inherited from:
- EitherInterpretation
- Source:
- EitherEffect.scala
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
Attributes
- Inherited from:
- ReaderInterpretation
- Source:
- ReaderEffect.scala
use the applicative instance of Eff to traverse a list of values
use the applicative instance of Eff to traverse a list of values
Attributes
- Inherited from:
- EffCreation
- Source:
- Eff.scala
create an Eff value for ()
check a correct condition
create an Validate effect from a single Either value
create an Validate effect from a single Either value
Attributes
- Inherited from:
- ValidateCreation
- Source:
- ValidateEffect.scala
create an Validate effect from a single Ior value
create an Validate effect from a single Ior value
Attributes
- Inherited from:
- ValidateCreation
- Source:
- ValidateEffect.scala
create an Validate effect from a single Option value
create an Validate effect from a single Option value
Attributes
- Inherited from:
- ValidateCreation
- Source:
- ValidateEffect.scala
check a correct value
create a list effect from a list of values
create a list effect from a list of values
Attributes
- Inherited from:
- ListCreation
- Source:
- ListEffect.scala
create a correct value with warning
create a correct value with warning
Attributes
- Inherited from:
- ValidateCreation
- Source:
- ValidateEffect.scala
create a pure warning
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
Attributes
- Inherited from:
- SafeInterpretation
- Source:
- SafeEffect.scala
attach a clean-up action to the continuation (if any)
attach a clean-up action to the continuation (if any)
Attributes
- Inherited from:
- EffCreation
- Source:
- Eff.scala
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
Attributes
- Inherited from:
- SafeInterpretation
- Source:
- SafeEffect.scala
create a failed value
Attributes
- Inherited from:
- ChooseCreation
- Source:
- Choose.scala
Modify the type of the read value
Modify the type of the read value
This changes the stack of the Eff computation
Attributes
- Inherited from:
- EitherInterpretation
- Source:
- EitherEffect.scala
Modify the type of the read value
Modify the type of the read value
This changes the stack of the Eff computation
Attributes
- Inherited from:
- ReaderInterpretation
- Source:
- ReaderEffect.scala
Implicits
Inherited implicits
Attributes
- Inherited from:
- EffImplicits
- Source:
- Eff.scala
Attributes
- Inherited from:
- WriterInterpretation
- Source:
- WriterEffect.scala
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]
Attributes
- Inherited from:
- EvalInterpretation
- Source:
- EvalEffect.scala