Packages

o

cats.data

State

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. All

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( ... ) @native() @IntrinsicCandidate()
  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: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def get[S]: State[S, S]

    Return the input state without modifying it.

    Return the input state without modifying it.

    Definition Classes
    StateFunctions
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. 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
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. 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
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. 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
  20. 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
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from StateFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped