object Eval extends EvalInstances with Serializable

Linear Supertypes
Serializable, Serializable, EvalInstances, EvalInstances0, EvalInstances1, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Eval
  2. Serializable
  3. Serializable
  4. EvalInstances
  5. EvalInstances0
  6. EvalInstances1
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class Call [A] extends Eval[A]

    Call is a type of Eval[A] that is used to defer computations which produce Eval[A].

    Call is a type of Eval[A] that is used to defer computations which produce Eval[A].

    Users should not instantiate Call instances themselves. Instead, they will be automatically created when needed.

  2. sealed abstract class Compute [A] extends Eval[A]

    Compute is a type of Eval[A] that is used to chain computations involving .map and .flatMap.

    Compute is a type of Eval[A] that is used to chain computations involving .map and .flatMap. Along with Eval#flatMap it implements the trampoline that guarantees stack-safety.

    Users should not instantiate Compute instances themselves. Instead, they will be automatically created when needed.

    Unlike a traditional trampoline, the internal workings of the trampoline are not exposed. This allows a slightly more efficient implementation of the .value method.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val False: Eval[Boolean]
  5. val One: Eval[Int]
  6. val True: Eval[Boolean]
  7. val Unit: Eval[Unit]

    Static Eval instances for some common values.

    Static Eval instances for some common values.

    These can be useful in cases where the same values may be needed many times.

  8. val Zero: Eval[Int]
  9. def always[A](a: ⇒ A): Eval[A]

    Construct a lazy Eval[A] value without caching (i.e.

    Construct a lazy Eval[A] value without caching (i.e. Always[A]).

  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. implicit val catsBimonadForEval: Bimonad[Eval] with Monad[Eval]
    Definition Classes
    EvalInstances
  12. implicit def catsEqForEval[A](implicit arg0: Eq[A]): Eq[Eval[A]]
    Definition Classes
    EvalInstances1
  13. implicit def catsGroupForEval[A](implicit arg0: Group[A]): Group[Eval[A]]
    Definition Classes
    EvalInstances
  14. implicit def catsMonoidForEval[A](implicit arg0: Monoid[A]): Monoid[Eval[A]]
    Definition Classes
    EvalInstances0
  15. implicit def catsOrderForEval[A](implicit arg0: Order[A]): Order[Eval[A]]
    Definition Classes
    EvalInstances
  16. implicit def catsPartialOrderForEval[A](implicit arg0: PartialOrder[A]): PartialOrder[Eval[A]]
    Definition Classes
    EvalInstances0
  17. implicit def catsSemigroupForEval[A](implicit arg0: Semigroup[A]): Semigroup[Eval[A]]
    Definition Classes
    EvalInstances1
  18. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. def defer[A](a: ⇒ Eval[A]): Eval[A]

    Defer a computation which produces an Eval[A] value.

    Defer a computation which produces an Eval[A] value.

    This is useful when you want to delay execution of an expression which produces an Eval[A] value. Like .flatMap, it is stack-safe.

  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def later[A](a: ⇒ A): Eval[A]

    Construct a lazy Eval[A] value with caching (i.e.

    Construct a lazy Eval[A] value with caching (i.e. Later[A]).

  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  30. def now[A](a: A): Eval[A]

    Construct an eager Eval[A] value (i.e.

    Construct an eager Eval[A] value (i.e. Now[A]).

  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. object Call extends Serializable

Inherited from Serializable

Inherited from Serializable

Inherited from EvalInstances

Inherited from EvalInstances0

Inherited from EvalInstances1

Inherited from AnyRef

Inherited from Any

Ungrouped