Proxy

turbolift.internals.interpreter.Interpreter$.Proxy
abstract class Proxy[Fx] extends Interpreter

Super trait for any user-defined proxy Interpreter.

Proxy translates operations of this effect, into operations of some other effects (dependencies). This is also known as "reinterpretation" in some effect systems.

Type parameters

Fx

Type-level set of effects, specifying dependencies of this proxy interpreter.

Attributes

Graph
Supertypes
trait Interpreter
trait Signature
class Object
trait Matchable
class Any
Known subtypes
class Proxy[Fx]

Members list

Type members

Types

final override type !@![A, U] = Proxy[U, Dependency] => Computation[A, Dependency]

Abstract type that must be used in definitions of effect's operations.

Abstract type that must be used in definitions of effect's operations.

Becomes an alias of Computation (i.e. same as !!), once the signature is inherited from Effect.

Attributes

final override type Dependency = Fx
final override type From[+A] = A
final override type To[+A] = A

Inherited types

type ThisEffect

Abstract type that must be used in definitions of effect's operations.

Abstract type that must be used in definitions of effect's operations.

Becomes an alias of this.type, once the signature is inherited from Effect.

Attributes

Inherited from:
Signature

Alias for Handler, specialized for this interperter.

Alias for Handler, specialized for this interperter.

Attributes

Inherited from:
Interpreter

Value members

Concrete methods

final def toHandler: ThisHandler