Sequence of monadic functions from A to B: A => Eff[B]
Internally it is represented as a Vector of functions:
A => Eff[R, X1]; X1 => Eff[R, X2]; X2 => Eff[R, X3]; ...; X3 => Eff[R, B]
An alternate unit value can also be set on this function in case the argument A is not available. This value can be set by an effect to do some cleanup if it doesn't even get the chance to add its own effect. See SafeEffect.bracket
- Companion:
- object
- Source:
- Continuation.scala
Value members
Concrete methods
append a new monadic function to this list of functions such that
append a new monadic function to this list of functions such that
Arrs[R, A, B] => (B => Eff[R, C]) => Arrs[R, A, C]
- Source:
- Continuation.scala
execute this monadic function
execute this monadic function
This method is stack-safe
- Source:
- Continuation.scala
adapt the input and output of an Arrs function
adapt the input and output of an Arrs function
- Source:
- Continuation.scala
create an Arrs function from the result of another Arrs function
create an Arrs function from the result of another Arrs function
- Source:
- Continuation.scala
create an Arrs function from the result of another Arrs function
create an Arrs function from the result of another Arrs function
- Source:
- Continuation.scala