get the environment
get the environment
get the environment
get the environment
catch and handle a possible left value
catch and handle a possible left value
use the internal effect as one of the stack effects
use the internal effect as one of the stack effects
peel-off the only present effect
peel-off the only present effect
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
create a list effect with no values
create a list effect with no values
run a state effect, with an initial value, return only the value
run a state effect, with an initial value, return only the value
run a state effect, with an initial value, return only the value
run a state effect, with an initial value, return only the value
run a state effect, with a Monoidal state
run a state effect, with a Monoidal state
run a state effect, with a Monoidal state
run a state effect, with a Monoidal state
run a state effect, with an initial value, return only the state
run a state effect, with an initial value, return only the state
run a state effect, with an initial value, return only the state
run a state effect, with an initial value, return only the state
run a state effect, with a monoidal state, return only the state
run a state effect, with a monoidal state, return only the state
run a state effect, with a monoidal state, return only the state
run a state effect, with a monoidal state, return only the state
create a list effect from a list of values
create a list effect from a list of values
create a Disjunction effect from a single Option value
create a Disjunction effect from a single Option value
create a Disjunction effect from a single Xor value
create a Disjunction effect from a single Xor value
get the current state value
get the current state value
get the current state value
get the current state value
get the current state value and map it with a function f
get the current state value and map it with a function f
get the current state value and map it with a function f
get the current state value and map it with a function f
create a impure value from an union of effects and a continuation
create a impure value from an union of effects and a continuation
create a failed value
create a failed value
modify the environment
modify the environment
modify the environment
modify the environment
modify the current state value
modify the current state value
modify the current state value
modify the current state value
no value returned
no value returned
create an Option effect from a single Option value
create an Option effect from a single Option value
create a pure value
create a pure value
store a new state value
store a new state value
store a new state value
store a new state value
create a correct value
create a correct value
base runner for an Eff value having no effects at all
base runner for an Eff value having no effects at all
This runner can only return the value in Pure because it doesn't known how to interpret the effects in Impure
run the disjunction effect, yielding Either[E, A]
run the disjunction effect, yielding Either[E, A]
run an effect stack starting with a list effect
run an effect stack starting with a list effect
Interpret the Option effect
Interpret the Option effect
Stop all computations if None is present once
interpret the Reader effect by providing an environment when required
interpret the Reader effect by providing an environment when required
interpret a tagged Reader effect by providing an environment when required
interpret a tagged Reader effect by providing an environment when required
run a state effect, with an initial value
run a state effect, with an initial value
run a tagged state effect, with an initial value
run a tagged state effect, with an initial value
run a state effect, with an initial value
run a state effect, with an initial value
run a state effect, with an initial value
run a state effect, with an initial value
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
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
run a tagged writer effect
run a tagged writer effect
run the disjunction effect, yielding E Xor A
run the disjunction effect, yielding E Xor A
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
create a list effect from a single value
create a list effect from a single value
a value is returned
a value is returned
write a given value
write a given value
write a given value
write a given value
create an Eff value for ()
create an Eff value for ()
create a list effect from a list of values
create a list effect from a list of values