WriterSig

turbolift.std_effects.WriterSig
trait WriterSig[W, W1] extends Signature

Attributes

Graph
Supertypes
trait Signature
class Object
trait Matchable
class Any
Known subtypes
trait WriterEffect[W, W1]
trait Writer[W]
trait WriterG[M, K, V]
trait WriterGK[M, K, F, V]
trait WriterK[F, W]

Members list

Concise view

Type members

Inherited types

type !@![A, U]

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

Inherited from:
Signature

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

Value members

Abstract methods

def censor[A, U <: ThisEffect](f: W => W)(body: Computation[A, U]): A !@! U
def listen[A, U <: ThisEffect](body: Computation[A, U]): (A, W) !@! U
def mute[A, U <: ThisEffect](body: Computation[A, U]): A !@! U
def pass[A, U <: ThisEffect](body: Computation[(A, W => W), U]): A !@! U
def tell(w: W1): Unit !@! ThisEffect
def tells(w: W): Unit !@! ThisEffect