Monad implementation for the Eff[R, ?] type
Monad implementation for the Eff[R, ?] type
get the environment
get the environment
get the environment
get the environment
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 an disjunction effect from a single Disjunction value
create an disjunction effect from a single Disjunction value
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
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 disjunction effect from a single Option value
create an disjunction 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
This interpreter prints messages to the console
This interpreter prints messages to the console
This interpreter prints messages to a printing function
This interpreter prints messages to a printing function
run the disjunction effect, yielding E \/ A
run the disjunction effect, yielding E \/ A
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
This interpreter cumulates warnings
This interpreter cumulates warnings
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
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
warn the user about something that is probably wrong on his side, this is not a specs2 bug
warn the user about something that is probably wrong on his side, this is not a specs2 bug