StashToolkit

trait StashToolkit extends Toolkit

When StashToolkit.State is not a persistent data structure, it might still provide a way to remember the current state (as if push on the stack) and return to it later (as if pop off the stack). StashToolkit is a Toolkit that supports such operations on Toolkit.State.

trait Toolkit
class Object
trait Matchable
class Any

Type members

Inherited types

type Prg[_]
Inherited from:
Toolkit
type State
Inherited from:
Toolkit

Value members

Inherited methods

Inherited from:
Toolkit
def interpret[A](p: Prg[A], s: State): (State, A)
Inherited from:
Toolkit
def interpret0[A](p: Prg[A]): (State, A)
Inherited from:
Toolkit
def interpretAll[F[_]](ps: F[Prg[Unit]], s: State)(implicit F: Foldable[F]): State
Inherited from:
Toolkit

Implicits

Implicits

Inherited implicits

implicit def prgMonad: Monad[Prg]
Inherited from:
Toolkit