Trait/Object

monix.types

Evaluable

Related Docs: object Evaluable | package types

Permalink

trait Evaluable[F[_]] extends Suspendable[F] with Memoizable[F] with MonadError[F, Throwable] with CoflatMap[F] with MonadRec[F]

Groups common type-classes for things that can be evaluated and that yield a single result (i.e. Task, Coeval)

Linear Supertypes
MonadRec[F], CoflatMap[F], MonadError[F, Throwable], Monad[F], ApplicativeError[F, Throwable], Memoizable[F], Suspendable[F], Applicative[F], Functor[F], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Evaluable
  2. MonadRec
  3. CoflatMap
  4. MonadError
  5. Monad
  6. ApplicativeError
  7. Memoizable
  8. Suspendable
  9. Applicative
  10. Functor
  11. Serializable
  12. Serializable
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def ap[A, B](fa: F[A])(ff: F[(A) ⇒ B]): F[B]

    Permalink
    Definition Classes
    Applicative
  2. abstract def coflatMap[A, B](fa: F[A])(f: (F[A]) ⇒ B): F[B]

    Permalink
    Definition Classes
    CoflatMap
  3. abstract def flatMap[A, B](fa: F[A])(f: (A) ⇒ F[B]): F[B]

    Permalink
    Definition Classes
    Monad
  4. abstract def flatten[A](ffa: F[F[A]]): F[A]

    Permalink
    Definition Classes
    Monad
  5. abstract def handleError[A](fa: F[A])(f: (Throwable) ⇒ A): F[A]

    Permalink

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

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

    Definition Classes
    ApplicativeError
  6. abstract def handleErrorWith[A](fa: F[A])(f: (Throwable) ⇒ F[A]): F[A]

    Permalink

    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
    ApplicativeError
  7. abstract def map[A, B](fa: F[A])(f: (A) ⇒ B): F[B]

    Permalink
    Definition Classes
    Functor
  8. abstract def map2[A, B, Z](fa: F[A], fb: F[B])(f: (A, B) ⇒ Z): F[Z]

    Permalink
    Definition Classes
    Applicative
  9. abstract def memoize[A](fa: F[A]): F[A]

    Permalink
    Definition Classes
    Memoizable
  10. abstract def pure[A](a: A): F[A]

    Permalink
    Definition Classes
    Applicative
  11. abstract def raiseError[A](e: Throwable): F[A]

    Permalink

    Lift an error into the F context.

    Lift an error into the F context.

    Definition Classes
    ApplicativeError
  12. abstract def recover[A](fa: F[A])(pf: PartialFunction[Throwable, A]): F[A]

    Permalink

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

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

    Definition Classes
    ApplicativeError
  13. abstract def recoverWith[A](fa: F[A])(pf: PartialFunction[Throwable, F[A]]): F[A]

    Permalink

    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
    ApplicativeError
  14. abstract def suspend[A](fa: ⇒ F[A]): F[A]

    Permalink
    Definition Classes
    Suspendable

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def coflatten[A](fa: F[A]): F[F[A]]

    Permalink
    Definition Classes
    CoflatMap
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def eval[A](a: ⇒ A): F[A]

    Permalink
    Definition Classes
    Suspendable
  10. def evalOnce[A](a: ⇒ A): F[A]

    Permalink
    Definition Classes
    Memoizable
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def tailRecM[A, B](a: A)(f: (A) ⇒ F[Either[A, B]]): F[B]

    Permalink

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

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

    Based on Phil Freeman's Stack Safety for Free.

    Definition Classes
    MonadRec
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MonadRec[F]

Inherited from CoflatMap[F]

Inherited from MonadError[F, Throwable]

Inherited from Monad[F]

Inherited from ApplicativeError[F, Throwable]

Inherited from Memoizable[F]

Inherited from Suspendable[F]

Inherited from Applicative[F]

Inherited from Functor[F]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped