EvalEffect

org.atnos.eff.EvalEffect
See theEvalEffect companion object

Effect for delayed computations

uses cats.Eval as a supporting data structure

Attributes

Companion
object
Source
EvalEffect.scala
Graph
Supertypes
trait EvalCreation
trait EvalTypes
class Object
trait Matchable
class Any
Show all
Known subtypes
object EvalEffect.type

Members list

Type members

Inherited types

type _Eval[R] = Member[Eval, R]

Attributes

Inherited from:
EvalTypes
Source
EvalEffect.scala
type _eval[R] = MemberIn[Eval, R]

Attributes

Inherited from:
EvalTypes
Source
EvalEffect.scala

Value members

Inherited methods

def attemptEval[R, U, A](effect: Eff[R, A])(implicit m: Aux[Eval, R, U]): Eff[U, Either[Throwable, A]]

Attributes

Inherited from:
EvalInterpretation
Source
EvalEffect.scala
def defer[R : _eval, A](eff: => Eval[Eff[R, A]]): Eff[R, A]

Attributes

Inherited from:
EvalCreation
Source
EvalEffect.scala
def delay[R : _eval, A](a: => A): Eff[R, A]

Attributes

Inherited from:
EvalCreation
Source
EvalEffect.scala
def now[R : _eval, A](a: A): Eff[R, A]

Attributes

Inherited from:
EvalCreation
Source
EvalEffect.scala
def runEval[R, U, A](effect: Eff[R, A])(implicit m: Aux[Eval, R, U]): Eff[U, A]

Attributes

Inherited from:
EvalInterpretation
Source
EvalEffect.scala

Implicits

Inherited implicits

final implicit val monadErrorEval: MonadError[Eval, Throwable]

the monad error instance for Eval is useful for using detach on Eff[Fx1[Eval], A]

the monad error instance for Eval is useful for using detach on Eff[Fx1[Eval], A]

Attributes

Inherited from:
EvalInterpretation
Source
EvalEffect.scala