Stateless

turbolift.internals.interpreter.Interpreter$.Stateless
abstract class Stateless[F[_]] extends Flow

Super class for any user-defined Flow Interpreter, that has no internal state.

Attributes

F

Result for this interpreter.

Graph
Supertypes
class Flow
trait Signature
class Object
trait Matchable
class Any
Known subtypes
class Stateless[F]

Members list

Concise view

Type members

Types

final override type !@![A, U] = ThisControl[A, U] => Computation[F[Unknown], Ambient]

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 Result[+A] = F[A]
final override type Stan = Void

State of this interpreter. Named Stan, to avoid confusion with State effect.

State of this interpreter. Named Stan, to avoid confusion with State effect.

Attributes

Inherited types

type Ambient

Free variable, meaning set of effects beyond the scope of the currently interpreted effect

Free variable, meaning set of effects beyond the scope of the currently interpreted effect

Attributes

Inherited from:
Flow
final override type Dependency = Any

Attributes

Inherited from:
Flow

Alias for Control, specialized for this interpreter.

Alias for Control, specialized for this interpreter.

Attributes

Inherited from:
Flow

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
type Unknown

Free variable, meaning the unknown part of the continuation's answer type.

Free variable, meaning the unknown part of the continuation's answer type.

The full answer type is Result[Unknown].

Attributes

Inherited from:
Flow

Value members

Abstract methods

def onPure[A](a: A): F[A]

Concrete methods

final override def onPure[A](a: A, s: Void): F[A]

Attributes

Definition Classes

Creates a Handler from this interpreter.

Creates a Handler from this interpreter.

Attributes

Inherited methods

def onFork(s: Stan): (Stan, Stan)

Attributes

Inherited from:
FlowFeatures
def onJoin(s1: Stan, s2: Stan): Stan

Attributes

Inherited from:
FlowFeatures
def onUnpure[A](aa: F[A]): Computation[A, ThisEffect]

Attributes

Inherited from:
FlowFeatures
def onZip[A, B, C](aa: F[A], bb: F[B], k: (A, B) => C): Result[C]

Attributes

Inherited from:
FlowFeatures