Monad implementation for the Eff[R, ?] type
Monad implementation for the Eff[R, ?] type
apply a function to an Eff value using the applicative instance
apply a function to an Eff value using the applicative instance
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
create a correct value
create a correct value
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 an Option effect from a single Option value
create an Option effect from a single Option value
create an Xor effect from a single Xor value
create an Xor 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
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)
modify the environment
modify the environment
Lift a computation over a "small" reader (for a subsystem) into a computation over a "bigger" reader (for the full application)
Lift a computation over a "small" reader (for a subsystem) into a computation over a "bigger" reader (for the full application)
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 Xor effect from a single Option value
create an Xor 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 xor effect, yielding Either[E, A]
run the xor effect, yielding Either[E, A]
run an effect stack starting with a list effect
run an effect stack starting with a list effect
run the validate effect, yielding a list of failures Xor A
run the validate effect, yielding a list of failures Xor A
run the validate effect, yielding a non-empty list of failures Xor A
run the validate effect, yielding a non-empty list of failures Xor A
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 the validate effect, yielding a ValidatedNel
run the validate effect, yielding a ValidatedNel
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 xor effect, yielding E Xor A
run the xor 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
use the applicative instance of Eff to sequenc a list of values
use the applicative instance of Eff to sequenc a list of values
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
use the applicative instance of Eff to traverse a list of values
use the applicative instance of Eff to traverse a list of values
create an Eff value for ()
create an Eff value for ()
check a correct condition
check a correct condition
create an Validate effect from a single Option value
create an Validate effect from a single Option value
check a correct value
check a correct value
create an Validate effect from a single Xor value
create an Validate effect from a single Xor value
create a list effect from a list of values
create a list effect from a list of values
create a failed value
create a failed value