Packages

c

monix.eval.Coeval

TypeClassInstances

class TypeClassInstances extends Instance[Coeval] with Instance[Coeval] with Instance[Coeval, Throwable] with Instance[Coeval] with Instance[Coeval]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypeClassInstances
  2. Instance
  3. Type
  4. MonadRec
  5. Instance
  6. Instance
  7. Cobind
  8. Type
  9. Comonad
  10. Type
  11. Instance
  12. Type
  13. MonadError
  14. Instance
  15. Type
  16. Memoizable
  17. Instance
  18. Instance
  19. Instance
  20. Instance
  21. Instance
  22. Functor
  23. Applicative
  24. Monad
  25. MonadEval
  26. Type
  27. Suspendable
  28. Type
  29. Type
  30. Type
  31. Type
  32. Serializable
  33. Serializable
  34. AnyRef
  35. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TypeClassInstances()

Value Members

  1. def ap[A, B](ff: Coeval[(A) ⇒ B])(fa: Coeval[A]): Coeval[B]
    Definition Classes
    TypeClassInstancesApplicative
  2. final def applicative: Applicative[Coeval]
    Definition Classes
    InstanceType
  3. def attempt[A](fa: Coeval[A]): Coeval[Either[Throwable, A]]

    Handle errors by exposing them into Either values.

    Handle errors by exposing them into Either values.

    Returns Right(value) for successful values or Left(error) in case a failure happened.

    Definition Classes
    TypeClassInstancesMonadError
  4. final def cobind: Cobind[Coeval]
    Definition Classes
    InstanceType
  5. def coflatMap[A, B](fa: Coeval[A])(f: (Coeval[A]) ⇒ B): Coeval[B]
    Definition Classes
    TypeClassInstancesCobind
  6. def coflatten[A](fa: Coeval[A]): Coeval[Coeval[A]]
    Definition Classes
    Cobind
  7. final def comonad: Comonad[Coeval]
    Definition Classes
    InstanceType
  8. def eval[A](a: ⇒ A): Coeval[A]
    Definition Classes
    TypeClassInstancesMonadEval
  9. def evalOnce[A](a: ⇒ A): Coeval[A]
    Definition Classes
    TypeClassInstancesMemoizable
  10. def extract[A](x: Coeval[A]): A
    Definition Classes
    TypeClassInstancesComonad
  11. def flatMap[A, B](fa: Coeval[A])(f: (A) ⇒ Coeval[B]): Coeval[B]
    Definition Classes
    TypeClassInstancesMonad
  12. def flatten[A](ffa: Coeval[Coeval[A]]): Coeval[A]
    Definition Classes
    TypeClassInstancesMonad
  13. implicit final def functor: Functor[Coeval]
    Definition Classes
    InstanceType
  14. def map[A, B](fa: Coeval[A])(f: (A) ⇒ B): Coeval[B]
    Definition Classes
    TypeClassInstancesFunctor
  15. def map2[A, B, Z](fa: Coeval[A], fb: Coeval[B])(f: (A, B) ⇒ Z): Coeval[Z]
    Definition Classes
    TypeClassInstancesApplicative
  16. final def memoizable: Memoizable[Coeval]
    Definition Classes
    InstanceType
  17. def memoize[A](fa: Coeval[A]): Coeval[A]
    Definition Classes
    TypeClassInstancesMemoizable
  18. final def monad: Monad[Coeval]
    Definition Classes
    InstanceType
  19. final def monadError: MonadError[Coeval, Throwable]
    Definition Classes
    InstanceType
  20. final def monadEval: MonadEval[Coeval]
    Definition Classes
    InstanceType
  21. final def monadRec: MonadRec[Coeval]
    Definition Classes
    InstanceType
  22. def onErrorHandle[A](fa: Coeval[A])(f: (Throwable) ⇒ A): Coeval[A]

    Handle any error, by mapping it to an A value.

    Handle any error, by mapping it to an A value.

    Definition Classes
    TypeClassInstancesMonadError
  23. def onErrorHandleWith[A](fa: Coeval[A])(f: (Throwable) ⇒ Coeval[A]): Coeval[A]

    Handle any error, potentially recovering from it, by mapping it to an F[A] value.

    Handle any error, potentially recovering from it, by mapping it to an F[A] value.

    Definition Classes
    TypeClassInstancesMonadError
  24. def onErrorRecover[A](fa: Coeval[A])(pf: PartialFunction[Throwable, A]): Coeval[A]

    Recover from certain errors by mapping them to an A value.

    Recover from certain errors by mapping them to an A value.

    Definition Classes
    TypeClassInstancesMonadError
  25. def onErrorRecoverWith[A](fa: Coeval[A])(pf: PartialFunction[Throwable, Coeval[A]]): Coeval[A]

    Recover from certain errors by mapping them to an F[A] value.

    Recover from certain errors by mapping them to an F[A] value.

    Definition Classes
    TypeClassInstancesMonadError
  26. def pure[A](a: A): Coeval[A]
    Definition Classes
    TypeClassInstancesApplicative
  27. def raiseError[A](e: Throwable): Coeval[A]

    Lift an error into the F context.

    Lift an error into the F context.

    Definition Classes
    TypeClassInstancesMonadError
  28. def suspend[A](fa: ⇒ Coeval[A]): Coeval[A]
    Definition Classes
    TypeClassInstancesSuspendable
  29. final def suspendable: Suspendable[Coeval]
    Definition Classes
    InstanceType
  30. def tailRecM[A, B](a: A)(f: (A) ⇒ Coeval[Either[A, B]]): Coeval[B]

    Keeps calling f until a scala.util.Right[B] is returned.

    Keeps calling f until a scala.util.Right[B] is returned.

    Definition Classes
    TypeClassInstancesMonadRec
  31. val unit: Coeval[Unit]
    Definition Classes
    TypeClassInstancesApplicative