Packages

t

scalaz

StateFunctions

trait StateFunctions extends IndexedStateFunctions

Source
State.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StateFunctions
  2. IndexedStateFunctions
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def constantIndexedState[S1, S2, A](a: A, s: ⇒ S2): IndexedState[S1, S2, A]
    Definition Classes
    IndexedStateFunctions
  2. def constantState[S, A](a: A, s: ⇒ S): State[S, A]
  3. def get[S]: State[S, S]
  4. def gets[S, T](f: (S) ⇒ T): State[S, T]
  5. def iModify[S1, S2](f: (S1) ⇒ S2): IndexedState[S1, S2, Unit]
    Definition Classes
    IndexedStateFunctions
  6. def iPut[S1, S2](s: S2): IndexedState[S1, S2, Unit]
    Definition Classes
    IndexedStateFunctions
  7. def init[S]: State[S, S]
  8. def modify[S](f: (S) ⇒ S): State[S, Unit]
  9. def put[S](s: S): State[S, Unit]
  10. def state[S, A](a: A): State[S, A]