turbolift.interpreter
Members list
Type members
Classlikes
Access to delimited continuation.
Access to delimited continuation.
Used from custom implementations of effect Interpreter.
Type parameters
- A
-
input of this continuation
- B
-
part of the result of this continuation
- F
-
part of the result of this continuation
- S
-
state of the current effect
- U
-
effect set for higher order operations
- V
-
part of the result of this continuation
Attributes
- Companion
- object
- Supertypes
Super trait for any user-defined Interpreter.
Super trait for any user-defined Interpreter.
- Interpreters are not meant to be created directly. Instead, one of abstract interpreters, provided by Effect, should be inherited:
- Interpreters are not meant to be used directly. Instead, a Handler should be created from the interpreter, by calling
toHandler
method on it.
Attributes
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Interpreter.type
Mixin traits for Interpreter
.
Mixin traits for Interpreter
.
User-defined interpreters choose to inherit from one of those mixins, depending on their intended approach to parallellism.
No need to import these definitions, because turbolift.Effect trait exports them for convenience.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Mixins.type
Degenerate state of stateless Interpreter.
Degenerate state of stateless Interpreter.
Like Unit
, but takes 0 bytes of storage in fiber's state. Do not use explicitly.