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
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
NamedSyntax.type
Value members
Concrete methods
Executes empty
operation from the innermost Choice
effect in the current scope.
Executes empty
operation from the innermost Choice
effect in the current scope.
Attributes
Handles Each
effect.
Handles Each
effect.
Attributes
Handles Each
effect, discarding the result.
Handles Each
effect, discarding the result.
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
Like if
-then
statement, but the body is a computation
Like if
-then
statement, but the body is a computation
Attributes
Deprecated methods
Attributes
- Deprecated
- true
Concrete fields
Same as !!.pure(Nil)
.
Same as !!.pure(Nil)
.
Attributes
Same as !!.pure(None)
.
Same as !!.pure(None)
.
Attributes
Same as !!.pure(())
.
Same as !!.pure(())
.
Attributes
Same as !!.pure(Vector())
.
Same as !!.pure(Vector())
.
Attributes
Extensions
Extensions
Runs the computation, provided that it requests no effects.
Runs the computation, provided that it requests no effects.
Attributes
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
Alias of flatMapHandler
Creates a handler effectfully.
Creates a handler effectfully.
Passes computed value to handler constructor. Effect used to compute the value are absorbed by the handler, into its own dependencies.
Attributes
Applies a handler to this computation.
Applies a handler to this computation.
Same as myHandler.handle(this)
.
Attributes
Simplifies effectful creation of handlers.
Simplifies effectful creation of handlers.
Same as computation.flatMapHandler(handler => handler)
.
Attributes
Like if
statement, but the condition and the body are computations.
Like if
statement, but the condition and the body are computations.
Attributes
Like while
statement, but the condition and the body are computations.
Like while
statement, but the condition and the body are computations.
Attributes
Like while
statement, but the condition and the body are computations.
Like while
statement, but the condition and the body are computations.