Local

turbolift.interpreter.Local
final class Local[S, V](val interp: Untyped)

Access to effect's local state.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def get: Computation[S, V]
def getModify(f: S => S): Computation[S, V]
def getModifyGet(f: S => S): Computation[(S, S), V]
def getUpdate[A](f: S => (A, S)): Computation[(A, S), V]
def getUpdateGet[A](f: S => (A, S)): Computation[(A, S, S), V]
def gets[A](f: S => A): Computation[A, V]
def modify(f: S => S): Computation[Unit, V]
def modifyGet(f: S => S): Computation[S, V]
def put(s2: S): Computation[Unit, V]
def swap(s2: S): Computation[S, V]
def update[A](f: S => (A, S)): Computation[A, V]
def updateGet[A](f: S => (A, S)): Computation[(A, S), V]