object Calc
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Calc
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- implicit final class CalcFixedStateOps[R, S, E, A] extends AnyVal
- implicit final class CalcFixedStateSuccessOps[R, S, A] extends AnyVal
- implicit final class CalcFixedStateUnsuccessOps[R, S, E] extends AnyVal
- class CalcFunctorInstance[R, S, E] extends MonadError[[ε$0$]Calc[R, S, S, E, ε$0$], E] with cats.Defer[[ε$1$]Calc[R, S, S, E, ε$1$]] with StackSafeMonad[[ε$2$]Calc[R, S, S, E, ε$2$]] with Guarantee[[ε$3$]Calc[R, S, S, E, ε$3$]]
- sealed trait CalcRes[-R, -S1, +S2, +E, +A] extends Calc[R, S1, S2, E, A]
- implicit final class CalcSimpleStateOps[S1, S2, A] extends AnyVal
- implicit final class CalcSuccessfullOps[R, S1, S2, A] extends AnyVal
- implicit final class CalcUnsuccessfullOps[R, S1, S2, E] extends AnyVal
- final case class Cont[R, S1, S2, S3, E1, E2, A, B](src: Calc[R, S1, S2, E1, A], ksuc: (A) ⇒ Calc[R, S2, S3, E2, B], kerr: (E1) ⇒ Calc[R, S2, S3, E2, B]) extends Calc[R, S1, S3, E2, B] with Product with Serializable
- final case class Defer[R, S1, S2, E, A](e: () ⇒ Calc[R, S1, S2, E, A]) extends Calc[R, S1, S2, E, A] with Product with Serializable
- final case class Get[S]() extends CalcRes[Any, S, S, Nothing, S] with Product with Serializable
- final case class Pure[S, +A](a: A) extends CalcRes[Any, S, S, Nothing, A] with Product with Serializable
- final case class Raise[S, E](e: E) extends CalcRes[Any, S, S, E, Nothing] with Product with Serializable
- final case class Read[S, R]() extends CalcRes[R, S, S, Nothing, R] with Product with Serializable
- final case class Set[S](s: S) extends CalcRes[Any, Any, S, Nothing, Unit] with Product with Serializable
- implicit final class invariantOps[R, S1, S2, E, A] extends AnyVal
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
- implicit def calcInstance[R, S, E]: CalcFunctorInstance[R, S, E]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- def defer[R, S1, S2, E, A](x: ⇒ Calc[R, S1, S2, E, A]): Defer[R, S1, S2, E, A]
- def delay[S, A](x: ⇒ A): Calc[Any, S, S, Nothing, A]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def get[S]: Calc[Any, S, S, Nothing, S]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def pure[S, A](a: A): Calc[Any, S, S, Nothing, A]
- def raise[S, E](e: E): Calc[Any, S, S, E, Nothing]
- def read[S, R]: Calc[R, S, S, Nothing, R]
-
def
run[R, S1, S2, S3, E1, E2, A](calc: Calc[R, S1, S3, E2, A], r: R, init: S1): (S3, Either[E2, A])
- Annotations
- @tailrec()
- def set[S](s: S): Calc[Any, Any, S, Nothing, Unit]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- def unit[S]: Calc[Any, S, S, Nothing, Unit]
- def update[S1, S2](f: (S1) ⇒ S2): Calc[Any, S1, S2, Nothing, Unit]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def write[S](s: S)(implicit S: Monoid[S]): Calc[Any, S, S, Nothing, Unit]
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated