turbolift.interpreter
Members list
Type members
Classlikes
Delimited continuation obtained from Control.capture.
Delimited continuation obtained from Control.capture.
Type parameters
- A
-
input
- B
-
output
- S
-
local state
- U
-
effect set
Attributes
- Supertypes
Access to delimited continuation.
Access to delimited continuation.
Used from custom implementations of effect Interpreter.
Type parameters
- F
-
part of continuation's answer
- Q
-
part of continuation's answer
- S
-
local state
- V
-
effect set
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
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
- Companion
- object
- Supertypes
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Interpreter.type
Access to effect's local state.
Access to effect's local state.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
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.