Packages

sealed abstract class IndexedReaderWriterStateT[R, W, S1, S2, F[_], A] extends AnyRef

A monad transformer stack yielding (R, S1) => F[(W, A, S2)].

Self Type
IndexedReaderWriterStateT[R, W, S1, S2, F, A]
Source
ReaderWriterStateT.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IndexedReaderWriterStateT
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def getF[S <: S1, RR <: R]: (Monad[F]) => F[(RR, S) => F[(W, A, S2)]]

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def eval(r: R, s: S1)(implicit F: Monad[F]): F[(W, A)]

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

  9. def evalZero[S <: S1](r: R)(implicit F: Monad[F], S: Monoid[S]): F[(W, A)]

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

  10. def exec(r: R, s: S1)(implicit F: Monad[F]): F[(W, S2)]

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

  11. def execZero[S <: S1](r: R)(implicit F: Monad[F], S: Monoid[S]): F[(W, S2)]

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

  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. def flatMap[B, RR <: R, S3](f: (A) => IndexedReaderWriterStateT[RR, W, S2, S3, F, B])(implicit F: Bind[F], W: Semigroup[W]): IndexedReaderWriterStateT[RR, W, S1, S3, F, B]
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def map[B](f: (A) => B)(implicit F: Functor[F]): IndexedReaderWriterStateT[R, W, S1, S2, F, B]
  18. def mapT[G[_], B, WU, S2U](f: (F[(W, A, S2)]) => G[(WU, B, S2U)])(implicit F: Monad[F]): IndexedReaderWriterStateT[R, WU, S1, S2U, G, B]
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def run(r: R, s: S1)(implicit F: Monad[F]): F[(W, A, S2)]
  23. def runZero[S <: S1](r: R)(implicit F: Monad[F], S: Monoid[S]): F[(W, A, S2)]

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

  24. def state(r: R)(implicit F: Monad[F]): IndexedStateT[S1, S2, F, A]

    Discards the writer component.

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

Inherited from AnyRef

Inherited from Any

Ungrouped