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
- Alphabetic
- By Inheritance
- IndexedReaderWriterStateT
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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
- def evalZero[S <: S1](r: R)(implicit F: Monad[F], S: Monoid[S]): F[(W, A)]
Calls
eval
usingMonoid[S].zero
as the initial state - 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
- def execZero[S <: S1](r: R)(implicit F: Monad[F], S: Monoid[S]): F[(W, S2)]
Calls
exec
usingMonoid[S].zero
as the initial state - def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[B](f: (A) => B)(implicit F: Functor[F]): IndexedReaderWriterStateT[R, W, S1, S2, F, B]
- 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]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def run(r: R, s: S1)(implicit F: Monad[F]): F[(W, A, S2)]
- def runZero[S <: S1](r: R)(implicit F: Monad[F], S: Monoid[S]): F[(W, A, S2)]
Calls
run
usingMonoid[S].zero
as the initial state - def state(r: R)(implicit F: Monad[F]): IndexedStateT[S1, S2, F, A]
Discards the writer component.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()