Packages

object State extends StateFunctions

Source
package.scala
Linear Supertypes
StateFunctions, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. State
  2. StateFunctions
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[S, A](f: (S) => (S, A)): State[S, A]
    Definition Classes
    StateFunctions
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def empty[S, A](implicit A: Monoid[A]): State[S, A]

    Return A's empty monoid value and maintain the input state.

    Return A's empty monoid value and maintain the input state.

    Definition Classes
    StateFunctions
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. def get[S]: State[S, S]

    Return the input state without modifying it.

    Return the input state without modifying it.

    Definition Classes
    StateFunctions
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def inspect[S, T](f: (S) => T): State[S, T]

    Inspect a value from the input state, without modifying the state.

    Inspect a value from the input state, without modifying the state.

    Definition Classes
    StateFunctions
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def modify[S](f: (S) => S): State[S, Unit]

    Modify the input state and return Unit.

    Modify the input state and return Unit.

    Definition Classes
    StateFunctions
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def pure[S, A](a: A): State[S, A]

    Return a and maintain the input state.

    Return a and maintain the input state.

    Definition Classes
    StateFunctions
  21. def set[S](s: S): State[S, Unit]

    Set the state to s and return Unit.

    Set the state to s and return Unit.

    Definition Classes
    StateFunctions
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from StateFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped