Use the !! alias to access methods of this companion object.
Example:
import turbolift.!!
val myComputation: Int !! Any = !!.pure(42)
Attributes
- Companion
- class
- Graph
-
- Supertypes
- Self type
-
Computation.type
Members list
Value members
Concrete methods
Handles Each effect.
Handles Each effect.
Attributes
Handles Each effect, discarding the result.
Handles Each effect, discarding the result.
Attributes
Executes fail operation from the innermost Choice effect in the current scope.
Executes fail operation from the innermost Choice effect in the current scope.
Attributes
Like the standard for loop, but using computation instead of statement.
Like the standard for loop, but using computation instead of statement.
Returns last value of the iterated variable.
Attributes
Like the standard for loop, but using computation instead of statement.
Like the standard for loop, but using computation instead of statement.
Returns last value of the iterated variable.
Attributes
Like the standard for loop, but using computation instead of statement.
Like the standard for loop, but using computation instead of statement.
Returns last value of the iterated variable.
Attributes
Repeats the computation, given number of times.
Repeats the computation, given number of times.
Attributes
Repeats the computation, while the effectful condition is false.
Repeats the computation, while the effectful condition is false.
Attributes
Repeats the computation, while the effectful condition is true.
Repeats the computation, while the effectful condition is true.
Attributes
Executes the computation, if the condition is true.
Executes the computation, if the condition is true.
Attributes
Concrete fields
Same as !!.pure(()).
Same as !!.pure(()).
Attributes
Extensions
Inherited extensions
Runs the computation, provided that it requests no effects.
Runs the computation, provided that it requests no effects.
Attributes
- Inherited from:
- ComputationExtensions
Attributes
- Inherited from:
- ComputationExtensions
Attributes
- Inherited from:
- ComputationExtensions
Runs the computation, provided that it requests IO effect only, or none at all.
Runs the computation, provided that it requests IO effect only, or none at all.
Attributes
- Inherited from:
- ComputationExtensions
Attributes
- Inherited from:
- ComputationExtensions
Attributes
- Inherited from:
- ComputationExtensions
Attributes
- Inherited from:
- ComputationExtensions
Simplifies effectful creation of handlers.
Simplifies effectful creation of handlers.
Passes computed value to handler constructor. Effect used to compute the value, are absorbed by the handler, into its own dependencies.
Attributes
- Inherited from:
- ComputationExtensions
Simplifies effectful creation of handlers.
Simplifies effectful creation of handlers.
Passes computed value to handler constructor. Effect used to compute the value, are absorbed by the handler, into its own dependencies.
Attributes
- Inherited from:
- ComputationExtensions
Attributes
- Inherited from:
- ComputationExtensions
Applies a handler to this computation.
Applies a handler to this computation.
Same as myHandler.handle(this).
Attributes
- Inherited from:
- ComputationExtensions
Simplifies effectful creation of handlers.
Simplifies effectful creation of handlers.
Same as Handler.flatHandle(this).
Attributes
- Inherited from:
- ComputationExtensions
Attributes
- Inherited from:
- ComputationExtensions
Attributes
- Inherited from:
- ComputationExtensions
Like if statement, but the condition and the body are computations.
Like if statement, but the condition and the body are computations.
Attributes
- Inherited from:
- ComputationExtensions
Like while statement, but the condition and the body are computations.
Like while statement, but the condition and the body are computations.
Attributes
- Inherited from:
- ComputationExtensions
Like while statement, but the condition and the body are computations.
Like while statement, but the condition and the body are computations.
Attributes
- Inherited from:
- ComputationExtensions