object ReaderWriterState extends RWSFunctions
- Source
- package.scala
- Alphabetic
- By Inheritance
- ReaderWriterState
- RWSFunctions
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- def apply[E, L, S, A](f: (E, S) => (L, S, A))(implicit arg0: Monoid[L]): ReaderWriterState[E, L, S, A]
Return
a
and an empty log without modifying the input state.Return
a
and an empty log without modifying the input state.- Definition Classes
- RWSFunctions
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ask[E, L, S](implicit L: Monoid[L]): ReaderWriterState[E, L, S, E]
Get the provided environment, without modifying the input state.
Get the provided environment, without modifying the input state.
- Definition Classes
- RWSFunctions
- 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 finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def get[E, L, S](implicit arg0: Monoid[L]): ReaderWriterState[E, L, S, S]
Return the input state without modifying it.
Return the input state without modifying it.
- Definition Classes
- RWSFunctions
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def inspect[E, L, S, T](f: (S) => T)(implicit arg0: Monoid[L]): ReaderWriterState[E, L, 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
- RWSFunctions
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listen[E, L, S, A](rws: ReaderWriterState[E, L, S, A]): ReaderWriterState[E, L, S, (A, L)]
- Definition Classes
- RWSFunctions
- def modify[E, L, S](f: (S) => S)(implicit arg0: Monoid[L]): ReaderWriterState[E, L, S, Unit]
Modify the input state using
f
.Modify the input state using
f
.- Definition Classes
- RWSFunctions
- 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 pure[E, L, S, A](a: A)(implicit arg0: Monoid[L]): ReaderWriterState[E, L, S, A]
Return
a
and an empty log without modifying the input state.Return
a
and an empty log without modifying the input state.- Definition Classes
- RWSFunctions
- def set[E, L, S](s: S)(implicit arg0: Monoid[L]): ReaderWriterState[E, L, S, Unit]
Set the state to
s
.Set the state to
s
.- Definition Classes
- RWSFunctions
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tell[E, L, S](l: L): ReaderWriterState[E, L, S, Unit]
Add a value to the log, without modifying the input state.
Add a value to the log, without modifying the input state.
- Definition Classes
- RWSFunctions
- 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()