all

all.type

Type members

Inherited types

type Eval[A] = Name[A]
Inherited from:
EvalTypes
type ThrowableOr[A] = Either[Throwable, A]
Inherited from:
DisjunctionCreation
type _Eval[R] = Member[Eval, R]
Inherited from:
EvalTypes
type _Safe[R] = MemberInOut[Safe, R]
Inherited from:
SafeTypes
type _eval[R] = MemberIn[Eval, R]
Inherited from:
EvalTypes
type _safe[R] = MemberIn[Safe, R]
Inherited from:
SafeTypes

Value members

Inherited methods

def EffApplicative[R]: Applicative[[_] =>> Eff[R, _$3]]
Inherited from:
EffImplicits
def MonoidFold[A : Monoid]: FoldId[A, A]
Inherited from:
WriterInterpretation
def UnsafeFold[A](f: A => Unit): FoldId[A, Unit]
Inherited from:
WriterInterpretation
def ap[R, A, B](a: Eff[R, A])(f: Eff[R, A => B]): Eff[R, B]

apply a function to an Eff value using the applicative instance

apply a function to an Eff value using the applicative instance

Inherited from:
EffCreation
def attempt[R, A](action: Eff[R, A])(implicit m: MemberInOut[Safe, R]): Eff[R, Either[Throwable, A]]

try to execute an action an report any issue

try to execute an action an report any issue

Inherited from:
SafeInterpretation
def attemptEval[R, U, A](r: Eff[R, A])(implicit m: Aux[Eval, R, U]): Eff[U, Either[Throwable, A]]
Inherited from:
EvalInterpretation
def attemptSafe[R, A](r: Eff[R, A])(implicit m: MemberInOut[Safe, R]): Eff[R, (Either[Throwable, A], List[Throwable])]

Attempt to execute a safe action including finalizers

Attempt to execute a safe action including finalizers

Inherited from:
SafeInterpretation
def bracket[R, A, B, C](acquire: Eff[R, A])(step: A => Eff[R, B])(release: A => Eff[R, C])(implicit m: MemberInOut[Safe, R]): Eff[R, B]
Inherited from:
SafeInterpretation
def catchLeft[R, E, A](r: Eff[R, A])(handle: E => Eff[R, A])(implicit member: Member[[_] =>> Either[E, _$13], R]): Eff[R, A]

catch and handle a possible Left value

catch and handle a possible Left value

Inherited from:
DisjunctionInterpretation
def catchThrowable[R, A, B](action: Eff[R, A], pureValue: A => B, onThrowable: Throwable => Eff[R, B])(implicit m: MemberInOut[Safe, R]): Eff[R, B]

evaluate 1 action possibly having error effects

evaluate 1 action possibly having error effects

Execute a second action if the first one is not successful, based on the error

Inherited from:
SafeInterpretation
def collapse[R, M[_], A](r: Eff[R, M[A]])(implicit m: MemberIn[M, R]): Eff[R, A]

use the internal effect as one of the stack effects

use the internal effect as one of the stack effects

Inherited from:
EffCreation
def delay[R : _eval, A](a: => A): Eff[R, A]
Inherited from:
EvalCreation
def detach[M[_] : Monad, A](eff: Eff[Fx1[M], A]): M[A]

peel-off the only present effect

peel-off the only present effect

Inherited from:
EffInterpretation
def detachA[M[_], A](eff: Eff[Fx1[M], A])(implicit monad: Monad[M], applicative: Applicative[M]): M[A]

peel-off the only present effect, using an Applicative instance where possible

peel-off the only present effect, using an Applicative instance where possible

Inherited from:
EffInterpretation
def effInto[R, U, A](e: Eff[R, A])(implicit f: IntoPoly[R, U]): Eff[U, A]

An Eff[R, A] value can be transformed into an Eff[U, A] value provided that all the effects in R are also in U

An Eff[R, A] value can be transformed into an Eff[U, A] value provided that all the effects in R are also in U

Inherited from:
EffInterpretation
def eval[R : _safe, A](a: Name[A]): Eff[R, A]
Inherited from:
SafeCreation
def exception[R : _safe, A](t: Throwable): Eff[R, A]
Inherited from:
SafeCreation
def execSafe[R, U, A](r: Eff[R, A])(implicit m: Aux[Safe, R, U]): Eff[U, Either[Throwable, A]]

run a safe effect but drop the finalizer errors

run a safe effect but drop the finalizer errors

Inherited from:
SafeInterpretation
def finalizerException[R : _safe](t: Throwable): Eff[R, Unit]
Inherited from:
SafeCreation
def flatTraverseA[R, F[_], A, B](fs: F[A])(f: A => Eff[R, F[B]])(implicit FT: Traverse[F], FM: Monad[F]): Eff[R, F[B]]

use the applicative instance of Eff to traverse a list of values, then flatten it

use the applicative instance of Eff to traverse a list of values, then flatten it

Inherited from:
EffCreation
def fromDisjunction[R, E, A](disjunction: Either[E, A])(implicit member: MemberIn[[_] =>> Either[E, _$2], R]): Eff[R, A]

create an Either effect from a single Either value

create an Either effect from a single Either value

Inherited from:
DisjunctionCreation
def ignoreException[R, E <: Throwable : ClassTag, A](action: Eff[R, A])(implicit evidence$5: ClassTag[E], m: MemberInOut[Safe, R]): Eff[R, Unit]

ignore one possible exception that could be thrown

ignore one possible exception that could be thrown

Inherited from:
SafeInterpretation
def impure[R, X, A](union: Union[R, X], continuation: Arrs[R, X, A]): Eff[R, A]

create a impure value from an union of effects and a continuation

create a impure value from an union of effects and a continuation

Inherited from:
EffCreation
def left[R, E, A](e: E)(implicit member: MemberIn[[_] =>> Either[E, _$3], R]): Eff[R, A]

create a failed value

create a failed value

Inherited from:
DisjunctionCreation
def now[R : _eval, A](a: A): Eff[R, A]
Inherited from:
EvalCreation
def optionDisjunction[R, E, A](option: Option[A], e: E)(implicit member: MemberIn[[_] =>> Either[E, _$1], R]): Eff[R, A]

create an Either effect from a single Option value

create an Either effect from a single Option value

Inherited from:
DisjunctionCreation
def otherwise[R, A](action: Eff[R, A], onThrowable: Eff[R, A])(implicit m: MemberInOut[Safe, R]): Eff[R, A]

evaluate 1 action possibly having error effects

evaluate 1 action possibly having error effects

Execute a second action if the first one is not successful

Inherited from:
SafeInterpretation
def protect[R : _safe, A](a: => A): Eff[R, A]
Inherited from:
SafeCreation
def pure[R, A](a: A): Eff[R, A]

create a pure value

create a pure value

Inherited from:
EffCreation
def right[R, E, A](a: A)(implicit member: MemberIn[[_] =>> Either[E, _$5], R]): Eff[R, A]

create a correct value

create a correct value

Inherited from:
DisjunctionCreation
def run[A](eff: Eff[NoFx, A]): A

base runner for an Eff value having no effects at all

base runner for an Eff value having no effects at all

This runner can only return the value in Pure because it doesn't known how to interpret the effects in Impure

Inherited from:
EffInterpretation
def runDisjunction[R, U, E, A](r: Eff[R, A])(implicit m: Aux[[_] =>> Either[E, _$7], R, U]): Eff[U, Either[E, A]]

run the disjunction effect, yielding E Either A

run the disjunction effect, yielding E Either A

Inherited from:
DisjunctionInterpretation
def runEither[R, U, E, A](r: Eff[R, A])(implicit m: Aux[[_] =>> Either[E, _$11], R, U]): Eff[U, Either[E, A]]

run the disjunction effect, yielding Either[E, A]

run the disjunction effect, yielding Either[E, A]

Inherited from:
DisjunctionInterpretation
def runEval[R, U, A](r: Eff[R, A])(implicit m: Aux[Eval, R, U]): Eff[U, A]
Inherited from:
EvalInterpretation
def runLocalDisjunction[R, U, E1, E2, A](r: Eff[R, A], getter: E1 => E2)(implicit sr: Aux[[_] =>> Either[E1, _$17], R, U], br: MemberIn[[_] =>> Either[E2, _$18], U]): Eff[U, A]

Translate an error effect to another one in the same stack a computation over a "bigger" error (for the full application)

Translate an error effect to another one in the same stack a computation over a "bigger" error (for the full application)

Inherited from:
DisjunctionInterpretation
def runPure[R, A](eff: Eff[R, A]): Option[A]

get the pure value if there is no effect

get the pure value if there is no effect

Inherited from:
EffInterpretation
def runSafe[R, U, A](r: Eff[R, A])(implicit m: Aux[Safe, R, U]): Eff[U, (Either[Throwable, A], List[Throwable])]

Run a safe effect

Run a safe effect

Collect finalizer exceptions if any

Inherited from:
SafeInterpretation
def runWriter[R, U, O, A, B](w: Eff[R, A])(implicit m: Aux[[_] =>> Writer[O, _$3], R, U]): Eff[U, (A, List[O])]

run a writer effect and return the list of written values

run a writer effect and return the list of written values

This uses a ListBuffer internally to append values

Inherited from:
WriterInterpretation
def runWriterFold[R, U, O, A, B](w: Eff[R, A])(fold: FoldId[O, B])(implicit m: Aux[[_] =>> Writer[O, _$4], R, U]): Eff[U, (A, B)]

More general fold of runWriter where we can use a fold to accumulate values in a mutable buffer

More general fold of runWriter where we can use a fold to accumulate values in a mutable buffer

Inherited from:
WriterInterpretation
def runWriterUnsafe[R, U, O, A](w: Eff[R, A])(f: O => Unit)(implicit m: Aux[[_] =>> Writer[O, _$9], R, U]): Eff[U, A]

Run a side-effecting fold

Run a side-effecting fold

Inherited from:
WriterInterpretation
def safeLoop[R, U, A]: Loop[Safe, R, A, Eff[U, (Either[Throwable, A], Vector[Throwable])], Eff[U, Unit]]
Inherited from:
SafeInterpretation
def send[T[_], R, V](tv: T[V])(implicit member: MemberIn[T, R]): Eff[R, V]

create an Eff[R, A] value from an effectful value of type T[V] provided that T is one of the effects of R

create an Eff[R, A] value from an effectful value of type T[V] provided that T is one of the effects of R

Inherited from:
EffCreation
def sequenceA[R, F[_] : Traverse, A](fs: F[Eff[R, A]]): Eff[R, F[A]]

use the applicative instance of Eff to sequence a list of values

use the applicative instance of Eff to sequence a list of values

Inherited from:
EffCreation
def tell[R, O](o: O)(implicit member: MemberIn[[_] =>> Writer[O, _$1], R]): Eff[R, Unit]

write a given value

write a given value

Inherited from:
WriterCreation
def thenFinally[R, A](action: Eff[R, A], last: Eff[R, Unit])(implicit m: _Safe[R]): Eff[R, A]

evaluate 1 action possibly having error effects execute a second action whether the first is successful or not but keep track of finalizer exceptions

evaluate 1 action possibly having error effects execute a second action whether the first is successful or not but keep track of finalizer exceptions

Inherited from:
SafeInterpretation
def traverseA[R, F[_] : Traverse, A, B](fs: F[A])(f: A => Eff[R, B]): Eff[R, F[B]]

use the applicative instance of Eff to traverse a list of values

use the applicative instance of Eff to traverse a list of values

Inherited from:
EffCreation
def unit[R]: Eff[R, Unit]

create an Eff value for ()

create an Eff value for ()

Inherited from:
EffCreation
def whenFailed[R, A](action: Eff[R, A], onThrowable: Throwable => Eff[R, A])(implicit m: MemberInOut[Safe, R]): Eff[R, A]

evaluate 1 action possibly throwing exceptions

evaluate 1 action possibly throwing exceptions

Execute a second action if the first one is not successful, based on the exception

The final value type is the same as the original type

Inherited from:
SafeInterpretation

Implicits

Inherited implicits

final implicit def EffMonad[R]: Monad[[_] =>> Eff[R, _$1]]

Monad implementation for the Eff[R, *] type

Monad implementation for the Eff[R, *] type

Inherited from:
EffImplicits
implicit def ListFold[A]: FoldId[A, List[A]]
Inherited from:
WriterInterpretation
implicit def naturalInto[R, U](into: IntoPoly[R, U]): NaturalTransformation[[_] =>> Eff[R, _$7], [_] =>> Eff[U, _$8]]
Inherited from:
EffImplicits