scalaz

IndexedStateT

trait IndexedStateT[F[+_], -S1, +S2, +A] extends AnyRef

Self Type
IndexedStateT[F, S1, S2, A]
Source
StateT.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IndexedStateT
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apply(initial: S1): F[(S2, A)]

    Run and return the final value and state in the context of F

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def bimap[X, B](f: (S2) ⇒ X)(g: (A) ⇒ B)(implicit F: Functor[F]): IndexedStateT[F, S1, X, B]

  8. def bmap[X, S >: S2 <: S1](b: BijectionT.Bijection[S, X])(implicit F: Functor[F]): StateT[F, X, A]

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def contramap[X](g: (X) ⇒ S1): IndexedStateT[F, X, S2, A]

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def eval(initial: S1)(implicit F: Functor[F]): F[A]

    Run, discard the final state, and return the final value in the context of F

  14. def evalZero[S <: S1](implicit F: Functor[F], S: Monoid[S]): F[A]

    Calls eval using Monoid[S].zero as the initial state

  15. def exec(initial: S1)(implicit F: Functor[F]): F[S2]

    Run, discard the final value, and return the final state in the context of F

  16. def execZero[S <: S1](implicit F: Functor[F], S: Monoid[S]): F[S2]

    Calls exec using Monoid[S].zero as the initial state

  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def flatMap[S3, B](f: (A) ⇒ IndexedStateT[F, S2, S3, B])(implicit F: Bind[F]): IndexedStateT[F, S1, S3, B]

  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. def imap[X](f: (S2) ⇒ X)(implicit F: Functor[F]): IndexedStateT[F, S1, X, A]

  22. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  23. def leftMap[X](f: (S2) ⇒ X)(implicit F: Functor[F]): IndexedStateT[F, S1, X, A]

  24. def lift[M[+_]](implicit arg0: Applicative[M]): IndexedStateT[[+α]M[F[α]], S1, S2, A]

  25. def map[B](f: (A) ⇒ B)(implicit F: Functor[F]): IndexedStateT[F, S1, S2, B]

  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  29. def run(initial: S1): F[(S2, A)]

    An alias for apply

  30. def runZero[S <: S1](implicit S: Monoid[S]): F[(S2, A)]

    Calls run using Monoid[S].zero as the initial state

  31. def rwst[W, R](implicit F: Functor[F], W: Monoid[W]): IndexedReaderWriterStateT[F, R, W, S1, S2, A]

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def toString(): String

    Definition Classes
    AnyRef → Any
  34. def unlift[M[+_], FF[+_], AA >: A, S1m <: S1, S2m >: S2](implicit M: Comonad[M], ev: <~<[IndexedStateT.this.type, IndexedStateT[[+α]M[FF[α]], S1m, S2m, AA]]): IndexedStateT[FF, S1m, S2m, AA]

  35. def unliftId[M[+_], AA >: A, S1m <: S1, S2m >: S2](implicit M: Comonad[M], ev: <~<[IndexedStateT.this.type, IndexedStateT[M, S1m, S2m, AA]]): IndexedState[S1m, S2m, AA]

  36. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def xmap[X1, X2](f: (S2) ⇒ X1)(g: (X2) ⇒ S1)(implicit F: Functor[F]): IndexedStateT[F, X2, X1, A]

  40. def zoom[S0, S3](l: LensFamily[S0, S3, S1, S2])(implicit F: Functor[F]): IndexedStateT[F, S0, S3, A]

Inherited from AnyRef

Inherited from Any

Ungrouped