Object/Class

cats

Eval

Related Docs: class Eval | package cats

Permalink

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 Defer[A] extends Eval[A]

    Permalink

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

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

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

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

    Permalink

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

    FlatMap 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 FlatMap 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

    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. val False: Eval[Boolean]

    Permalink

    Static Eval instance for common value false.

    Static Eval instance for common value false.

    This can be useful in cases where the same value may be needed many times.

  5. val One: Eval[Int]

    Permalink

    Static Eval instance for common value 1.

    Static Eval instance for common value 1.

    This can be useful in cases where the same value may be needed many times.

  6. val True: Eval[Boolean]

    Permalink

    Static Eval instance for common value true.

    Static Eval instance for common value true.

    This can be useful in cases where the same value may be needed many times.

  7. val Unit: Eval[Unit]

    Permalink

    Static Eval instance for common value Unit.

    Static Eval instance for common value Unit.

    This can be useful in cases where the same value may be needed many times.

  8. val Zero: Eval[Int]

    Permalink

    Static Eval instance for common value 0.

    Static Eval instance for common value 0.

    This can be useful in cases where the same value may be needed many times.

  9. def always[A](a: ⇒ A): Eval[A]

    Permalink

    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

    Permalink
    Definition Classes
    Any
  11. implicit val catsBimonadForEval: Bimonad[Eval] with CommutativeMonad[Eval]

    Permalink
    Definition Classes
    EvalInstances
  12. implicit val catsDeferForEval: cats.Defer[Eval]

    Permalink
    Definition Classes
    EvalInstances
  13. implicit def catsEqForEval[A](implicit arg0: Eq[A]): Eq[Eval[A]]

    Permalink
    Definition Classes
    EvalInstances1
  14. implicit def catsGroupForEval[A](implicit arg0: Group[A]): Group[Eval[A]]

    Permalink
    Definition Classes
    EvalInstances
  15. implicit def catsMonoidForEval[A](implicit arg0: Monoid[A]): Monoid[Eval[A]]

    Permalink
    Definition Classes
    EvalInstances0
  16. implicit def catsOrderForEval[A](implicit arg0: Order[A]): Order[Eval[A]]

    Permalink
    Definition Classes
    EvalInstances
  17. implicit def catsPartialOrderForEval[A](implicit arg0: PartialOrder[A]): PartialOrder[Eval[A]]

    Permalink
    Definition Classes
    EvalInstances0
  18. implicit val catsReducibleForEval: Reducible[Eval]

    Permalink
    Definition Classes
    EvalInstances
  19. implicit val catsRepresentableForEval: Aux[Eval, Unit]

    Permalink
    Definition Classes
    EvalInstances
  20. implicit def catsSemigroupForEval[A](implicit arg0: Semigroup[A]): Semigroup[Eval[A]]

    Permalink
    Definition Classes
    EvalInstances1
  21. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def defer[A](a: ⇒ Eval[A]): Eval[A]

    Permalink

    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.

  23. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  29. def later[A](a: ⇒ A): Eval[A]

    Permalink

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

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

  30. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  33. def now[A](a: A): Eval[A]

    Permalink

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

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

  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def toString(): String

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

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from EvalInstances

Inherited from EvalInstances0

Inherited from EvalInstances1

Inherited from AnyRef

Inherited from Any

Ungrouped