State

case class State[S, A](runState: S => (S, A))
Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def >>[B](next: State[S, B]): State[S, B]
def evalState: S => A
def execState: S => S
def flatMap[B](f: A => State[S, B]): State[S, B]
def map[B](f: A => B): State[S, B]

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product