Use the !! alias to access methods of this companion object.
Example:
import turbolift.!!
val myComputation: Int !! Any = !!.pure(42)
Attributes
- Companion:
- class
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- 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
Stop gap before Turbolift gets true IO.
Stop gap before Turbolift gets true IO.
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
Simplifies effectful creation of handlers (handlers that depend on other effects).
Simplifies effectful creation of handlers (handlers that depend on other effects).
Passes computed value to handler constructor. Effect used to compute the value, are absorbed as handler's dependencies.
Attributes
- Inherited from:
- ComputationExtensions (hidden)
Attributes
- Inherited from:
- ComputationExtensions (hidden)
Applies a handler to this computation.
Applies a handler to this computation.
Same as myHandler.handle(this).
Attributes
- Inherited from:
- ComputationExtensions (hidden)
Runs the computation, provided that it requests no effects.
Runs the computation, provided that it requests no effects.
Attributes
- Inherited from:
- ComputationExtensions (hidden)
Currently: like run, but captures leaked exceptions. True IO is WIP.
Currently: like run, but captures leaked exceptions. True IO is WIP.
Attributes
- Inherited from:
- ComputationExtensions (hidden)
Simplifies effectful creation of handlers (handlers that depend on other effects).
Simplifies effectful creation of handlers (handlers that depend on other effects).
Same as Handler.flatHandle(this).
Attributes
- Inherited from:
- ComputationExtensions (hidden)
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 (hidden)
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 (hidden)
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 (hidden)
Attributes
- Inherited from:
- ComputationExtensions (hidden)
Attributes
- Inherited from:
- ComputationExtensions (hidden)