Stateless
Base class for any user-defined stateless interpreter for this effect.
Like Stateless interpreter, but specialized for this effect.
Attributes
- Graph
-
- Supertypes
-
trait ThisInterpretertrait Interpretertrait Signatureclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited types
Set of effects eliminated from computation by this interpreter.
Set of effects eliminated from computation by this interpreter.
Attributes
- Inherited from:
- ThisInterpreter
Input of this interpreter.
Set of effects introduced into computation by this interpreter (a.k.a. dependencies).
Set of effects introduced into computation by this interpreter (a.k.a. dependencies).
Attributes
- Inherited from:
- Stateless
Local state of this interpreter.
Self-reference to the effect being described by this Signature.
Self-reference to the effect being described by this Signature.
Becomes an alias of this.type
, once the signature is inherited from Effect
.
Attributes
- Inherited from:
- Interpreter
Inherited and Abstract types
Phantom type, representing universally quantified type of the corresponding handler.
Phantom type, representing universally quantified type of the corresponding handler.
A Handler acts as a higher-rank function of type:
[A, U] => (From[A] !! (Elim & U)) => To[A] !! (Intro & U)
The Ambient type of this interpreter corresponds to the U
type parameter above. See also Unknown.
Attributes
- Inherited from:
- Interpreter
Phantom type, representing universally quantified type of the corresponding handler.
Phantom type, representing universally quantified type of the corresponding handler.
A Handler acts as a higher-rank function of type:
[A, U] => (From[A] !! (Elim & U)) => To[A] !! (Intro & U)
The Unknown type of this interpreter corresponds to the A
type parameter above. See also Ambient.
Attributes
- Inherited from:
- Interpreter
Value members
Inherited methods
Microoptimization hint, stating intent to use continuations.
Microoptimization hint, stating intent to use continuations.
Many effect handlers never capture the continuation, and this is the default expectation.
The capture
will work regardless of value of this hint. However, if not overriden to true
, the first capture
will be more costly.
Attributes
- Inherited from:
- Interpreter
Attributes
- Inherited from:
- Interpreter
Attributes
- Inherited from:
- Interpreter
Attributes
- Inherited from:
- Interpreter
Attributes
- Inherited from:
- Interpreter
Attributes
- Inherited from:
- Interpreter
Attributes
- Inherited from:
- Interpreter
Attributes
- Inherited from:
- Interpreter
Attributes
- Inherited from:
- Interpreter
Attributes
- Definition Classes
- Inherited from:
- Stateless
Attributes
- Definition Classes
- Inherited from:
- Stateless
Attributes
- Inherited from:
- Interpreter
Creates a Handler from this interpreter.
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Interpreter -> Any
- Inherited from:
- Interpreter
Inherited and Abstract methods
Attributes
- Inherited from:
- Interpreter
Attributes
- Inherited from:
- Interpreter
Attributes
- Inherited from:
- Interpreter
Attributes
- Inherited from:
- Stateless
Attributes
- Inherited from:
- Interpreter
Attributes
- Inherited from:
- Interpreter