final case class FlatMappedState[S, F, T, U](start: StateWithError[S, F, T], fn: (T) => StateWithError[S, F, U]) extends StateWithError[S, F, U] with Product with Serializable
A Trampolining instance that should prevent stack overflow at the expense of performance
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FlatMappedState
- Serializable
- Product
- Equals
- StateWithError
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new FlatMappedState(start: StateWithError[S, F, T], fn: (T) => StateWithError[S, F, U])
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(state: S): Either[F, (S, U)]
- Definition Classes
- StateWithError
- 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 finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def flatMap[F1 >: F, U](next: (U) => StateWithError[S, F1, U]): StateWithError[S, F1, U]
- Definition Classes
- StateWithError
- val fn: (T) => StateWithError[S, F, U]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def join[F1 >: F, U](that: StateWithError[S, F1, U])(implicit sgf: Semigroup[F1], sgs: Semigroup[S]): StateWithError[S, F1, (U, U)]
- Definition Classes
- StateWithError
- def join[F1 >: F, U](that: StateWithError[S, F1, U], mergeErr: (F1, F1) => F1, mergeState: (S, S) => S): StateWithError[S, F1, (U, U)]
- Definition Classes
- StateWithError
- def map[U](fn: (U) => U): StateWithError[S, F, U]
- Definition Classes
- StateWithError
- 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 productElementNames: Iterator[String]
- Definition Classes
- Product
- def run(state: S): Either[F, (S, U)]
- Definition Classes
- FlatMappedState → StateWithError
- val start: StateWithError[S, F, T]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()