object StateWithError
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- StateWithError
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- class ConstantStateMaker[S] extends AnyRef
- class FunctionLifter[S] extends AnyRef
- class StateFMonad[F, S] extends Monad[[γ$1$]StateWithError[S, F, γ$1$]]
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
- implicit def apply[S, F, T](fn: (S) => Either[F, (S, T)]): StateWithError[S, F, T]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def const[S, T](t: T): StateWithError[S, Nothing, T]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def failure[S, F](f: F): StateWithError[S, F, Nothing]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromEither[S]: ConstantStateMaker[S]
Use like fromEither[Int](Right("good")) to get a constant Either in the monad
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getState[S]: StateWithError[S, Nothing, S]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lazyVal[S, T](t: => T): StateWithError[S, Nothing, T]
- implicit def monad[S, F]: Monad[[γ$0$]StateWithError[S, F, γ$0$]]
- 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 putState[S](newState: S): StateWithError[S, Nothing, Unit]
- def swapState[S](newState: S): StateWithError[S, Nothing, S]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toKleisli[S]: FunctionLifter[S]
- 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()