ReaderSignature

turbolift.effects.ReaderSignature
trait ReaderSignature[R] extends Signature

Attributes

Graph
Supertypes
trait Signature
class Object
trait Matchable
class Any
Known subtypes
trait Reader[R]

Members list

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

Value members

Abstract methods

def ask: R !@! ThisEffect
def asks[A](f: R => A): A !@! ThisEffect
def localModify[A, U <: ThisEffect](f: R => R)(body: Computation[A, U]): A !@! U
def localPut[A, U <: ThisEffect](r: R)(body: Computation[A, U]): A !@! U