all

Source:
all.scala
all.type

Type members

Inherited types

type _Choose[R] = Member[Choose, R]
Inherited from:
ChooseCreation
Source:
Choose.scala
type _Eval[R] = Member[Eval, R]
Inherited from:
EvalTypes
Source:
EvalEffect.scala
type _List[R] = Member[List, R]
Inherited from:
ListCreation
Source:
ListEffect.scala
type _Memo[R] = Member[Memoized, R]
Inherited from:
MemoTypes
Source:
MemoEffect.scala
type _Option[R] = Member[Option, R]
Inherited from:
OptionCreation
Source:
OptionEffect.scala
type _Safe[R] = Member[Safe, R]
Inherited from:
SafeTypes
Source:
SafeEffect.scala
type _choose[R] = MemberIn[Choose, R]
Inherited from:
ChooseCreation
Source:
Choose.scala
type _eval[R] = MemberIn[Eval, R]
Inherited from:
EvalTypes
Source:
EvalEffect.scala
type _list[R] = MemberIn[List, R]
Inherited from:
ListCreation
Source:
ListEffect.scala
type _memo[R] = MemberIn[Memoized, R]
Inherited from:
MemoTypes
Source:
MemoEffect.scala
type _option[R] = MemberIn[Option, R]
Inherited from:
OptionCreation
Source:
OptionEffect.scala
type _safe[R] = MemberIn[Safe, R]
Inherited from:
SafeTypes
Source:
SafeEffect.scala

Value members

Inherited methods

final def EffApplicative[R]: Applicative[[_] =>> Eff[R, _$14]]
Inherited from:
EffImplicits
Source:
Eff.scala
def EitherApplicative[E](implicit s: Semigroup[E]): Applicative[[_] =>> Either[E, _$36]]
def EvalFold[A](f: A => Eval[Unit]): RightFold[A, Eval[Unit]]
def IntoMonoidFold[M : Monoid, A](f: A => M): RightFold[A, M]
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
Source:
Eff.scala
def ask[R, T](implicit member: MemberIn[[_] =>> Reader[T, _$1], R]): Eff[R, T]

get the environment

get the environment

Inherited from:
ReaderCreation
Source:
ReaderEffect.scala
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
Source:
SafeEffect.scala
def attemptEither[R, E, A](effect: Eff[R, A])(implicit member: MemberInOut[[_] =>> Either[E, _$12], R]): Eff[R, Either[E, A]]

catch possible left values

catch possible left values

Inherited from:
EitherInterpretation
Source:
EitherEffect.scala
def attemptEval[R, U, A](effect: Eff[R, A])(implicit m: Aux[Eval, R, U]): Eff[U, Either[Throwable, A]]
def attemptSafe[R, A](effect: Eff[R, A])(implicit m: MemberInOut[Safe, R]): Eff[R, (ThrowableEither[A], List[Throwable])]

Attempt to execute a safe action including finalizers

Attempt to execute a safe action including finalizers

Inherited from:
SafeInterpretation
Source:
SafeEffect.scala
def batch[R, T[_], A](eff: Eff[R, A])(implicit batchable: Batchable[T], m: MemberInOut[T, R]): Eff[R, A]
Inherited from:
Batch
Source:
Batch.scala
def bracket[R, A, B, C](acquire: Eff[R, A])(use: A => Eff[R, B])(release: A => Eff[R, C])(implicit m: MemberInOut[Safe, R]): Eff[R, B]

get a resource A and use it. Call the release function whether an exception is thrown or not when using the resource

get a resource A and use it. Call the release function whether an exception is thrown or not when using the resource

NOTE: Eff interpreters are independent so if there is an effect short-circuiting all computations inside 'use', like Option or Either then the release function will not be called. If you want to make sure that the release function is always called "at the end of the world and whatever happens" you need to call Eff.bracketLast

Inherited from:
SafeInterpretation
Source:
SafeEffect.scala
def bracketLast[R, A, B, C](acquire: Eff[R, A])(use: A => Eff[R, B])(release: A => Eff[R, C]): Eff[R, B]

bracket an action with one last action to execute at the end of the program

bracket an action with one last action to execute at the end of the program

Inherited from:
EffCreation
Source:
Eff.scala
def catchAllWrongs[R, E, A](effect: Eff[R, A])(handle: NonEmptyList[E] => Eff[R, A])(implicit member: Member[[_] =>> Validate[E, _$36], R]): Eff[R, A]

catch and handle all wrong values

catch and handle all wrong values

Inherited from:
ValidateInterpretation
Source:
ValidateEffect.scala
def catchFirstWrong[R, E, A](effect: Eff[R, A])(handle: E => Eff[R, A])(implicit member: Member[[_] =>> Validate[E, _$32], R]): Eff[R, A]

catch and handle the first wrong value

catch and handle the first wrong value

Inherited from:
ValidateInterpretation
Source:
ValidateEffect.scala
def catchLastWrong[R, E, A](effect: Eff[R, A])(handle: E => Eff[R, A])(implicit member: Member[[_] =>> Validate[E, _$34], R]): Eff[R, A]

catch and handle the last wrong value

catch and handle the last wrong value

Inherited from:
ValidateInterpretation
Source:
ValidateEffect.scala
def catchLeft[R, E, A](effect: Eff[R, A])(handle: E => Eff[R, A])(implicit member: MemberInOut[[_] =>> Either[E, _$13], R]): Eff[R, A]

catch and handle a possible left value

catch and handle a possible left value

Inherited from:
EitherInterpretation
Source:
EitherEffect.scala
def catchLeftCombine[R, E, A](effect: Eff[R, A])(handle: E => Eff[R, A])(implicit member: MemberInOut[[_] =>> Either[E, _$16], R], s: Semigroup[E]): Eff[R, A]

catch and handle a possible left value. The value is the combination of all failures in case of an applicative

catch and handle a possible left value. The value is the combination of all failures in case of an applicative

Inherited from:
EitherInterpretation
Source:
EitherEffect.scala
def catchNonFatalThrowable[R, A](a: => A)(implicit member: MemberIn[ThrowableEither, R]): Eff[R, A]

create an Either effect from a value possibly throwing a Throwable

create an Either effect from a value possibly throwing a Throwable

Inherited from:
EitherCreation
Source:
EitherEffect.scala
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 first action possibly having error effects

evaluate first action possibly having error effects

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

Inherited from:
SafeInterpretation
Source:
SafeEffect.scala
def catchWrongs[R, E, A, S[_] : Applicative](effect: Eff[R, A])(handle: S[E] => Eff[R, A])(implicit evidence$4: Applicative[S], member: Member[[_] =>> Validate[E, _$29], R], semi: Semigroup[S[E]]): Eff[R, A]

catch and handle possible wrong values

catch and handle possible wrong values

Inherited from:
ValidateInterpretation
Source:
ValidateEffect.scala
def chooseFrom[R : _choose, A](as: List[A]): Eff[R, A]
Inherited from:
ChooseCreation
Source:
Choose.scala
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
Source:
Eff.scala
def correct[R, E, A](a: A)(implicit m: MemberIn[[_] =>> Validate[E, _$10], R]): Eff[R, A]

create a correct value

create a correct value

Inherited from:
ValidateCreation
Source:
ValidateEffect.scala
def defer[R : _eval, A](eff: => Eval[Eff[R, A]]): Eff[R, A]
Inherited from:
EvalCreation
Source:
EvalEffect.scala
def delay[R : _eval, A](a: => A): Eff[R, A]
Inherited from:
EvalCreation
Source:
EvalEffect.scala
def detach[M[_], A, E](eff: Eff[Fx1[M], A])(implicit monad: MonadError[M, E]): M[A]

peel-off the only present effect

peel-off the only present effect

Inherited from:
EffInterpretation
Source:
Eff.scala
def detach[M[_], R, A, E](eff: Eff[R, A])(implicit monad: MonadError[M, E], m: Aux[M, R, NoFx]): M[A]

peel-off the only present effect

peel-off the only present effect

Inherited from:
EffInterpretation
Source:
Eff.scala
def detachA[M[_], A, E](eff: Eff[Fx1[M], A])(implicit monad: MonadError[M, E], 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
Source:
Eff.scala
def detachA[M[_], R, A, E](eff: Eff[R, A])(implicit monad: MonadError[M, E], applicative: Applicative[M], member: Aux[M, R, NoFx]): 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
Source:
Eff.scala
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
Source:
Eff.scala
def empty[R : _list, A]: Eff[R, A]

create a list effect with no values

create a list effect with no values

Inherited from:
ListCreation
Source:
ListEffect.scala
def eval[R : _safe, A](a: Eval[A]): Eff[R, A]
Inherited from:
SafeCreation
Source:
SafeEffect.scala
def evalState[R, U, S, A](initial: S)(w: Eff[R, A])(implicit m: Aux[[_] =>> State[S, _$20], R, U]): Eff[U, A]

run a state effect, with an initial value, return only the value

run a state effect, with an initial value, return only the value

Inherited from:
StateInterpretation
Source:
StateEffect.scala
def evalStateZero[R, U, S : Monoid, A](w: Eff[R, A])(implicit evidence$1: Monoid[S], m: Aux[[_] =>> State[S, _$19], R, U]): Eff[U, A]

run a state effect, with a Monoidal state

run a state effect, with a Monoidal state

Inherited from:
StateInterpretation
Source:
StateEffect.scala
def exception[R : _safe, A](t: Throwable): Eff[R, A]
Inherited from:
SafeCreation
Source:
SafeEffect.scala
def execSafe[R, U, A](r: Eff[R, A])(implicit m: Aux[Safe, R, U]): Eff[U, ThrowableEither[A]]

run a safe effect but drop the finalizer errors

run a safe effect but drop the finalizer errors

Inherited from:
SafeInterpretation
Source:
SafeEffect.scala
def execState[R, U, S, A](initial: S)(w: Eff[R, A])(implicit m: Aux[[_] =>> State[S, _$23], R, U]): Eff[U, S]

run a state effect, with an initial value, return only the state

run a state effect, with an initial value, return only the state

Inherited from:
StateInterpretation
Source:
StateEffect.scala
def execStateZero[R, U, S : Monoid, A](w: Eff[R, A])(implicit evidence$2: Monoid[S], m: Aux[[_] =>> State[S, _$22], R, U]): Eff[U, S]

run a state effect, with a monoidal state, return only the state

run a state effect, with a monoidal state, return only the state

Inherited from:
StateInterpretation
Source:
StateEffect.scala
def flatSequenceA[R, F[_], A](fs: F[Eff[R, F[A]]])(implicit FT: Traverse[F], FM: FlatMap[F]): Eff[R, F[A]]

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

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

Inherited from:
EffCreation
Source:
Eff.scala
def flatTraverseA[R, F[_], A, B](fs: F[A])(f: A => Eff[R, F[B]])(implicit FT: Traverse[F], FM: FlatMap[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
Source:
Eff.scala
def fromCatchNonFatal[R, E, A](a: => A)(onThrowable: Throwable => E)(implicit member: MemberIn[[_] =>> Either[E, _$7], R]): Eff[R, A]

create an Either effect from a value possibly throwing an exception

create an Either effect from a value possibly throwing an exception

Inherited from:
EitherCreation
Source:
EitherEffect.scala
def fromEither[R, E, A](Either: 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:
EitherCreation
Source:
EitherEffect.scala
def fromList[R : _list, A](as: List[A]): Eff[R, A]

create a list effect from a list of values

create a list effect from a list of values

Inherited from:
ListCreation
Source:
ListEffect.scala
def fromOption[R : _option, A](o: Option[A]): Eff[R, A]

create an Option effect from a single Option value

create an Option effect from a single Option value

Inherited from:
OptionCreation
Source:
OptionEffect.scala
def get[R, S](implicit member: MemberIn[[_] =>> State[S, _$3], R]): Eff[R, S]

get the current state value

get the current state value

Inherited from:
StateCreation
Source:
StateEffect.scala
def getCache[R : _memo]: Eff[R, Cache]
Inherited from:
MemoCreation
Source:
MemoEffect.scala
def gets[R, S, T](f: S => T)(implicit member: MemberIn[[_] =>> State[S, _$5], R]): Eff[R, T]

get the current state value and map it with a function f

get the current state value and map it with a function f

Inherited from:
StateCreation
Source:
StateEffect.scala
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
Source:
SafeEffect.scala
def impure[R, A, B](value: A, continuation: Continuation[R, A, B], map: B => B): Eff[R, B]

create a delayed impure value

create a delayed impure value

Inherited from:
EffCreation
Source:
Eff.scala
def impure[R, A, B](value: A, continuation: Continuation[R, A, B]): Eff[R, B]

create a delayed impure value

create a delayed impure value

Inherited from:
EffCreation
Source:
Eff.scala
def impure[R, X, A](union: Union[R, X], continuation: Continuation[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
Source:
Eff.scala
def intoState[TS, SS, U1, U2, T, S, A](state: Eff[TS, A], getter: S => T, setter: (S, T) => S)(implicit ts: Aux[[_] =>> State[T, _$32], TS, U1], ss: Aux[[_] =>> State[S, _$33], SS, U2], into: IntoPoly[U1, U2]): Eff[SS, A]

General lifting of a state effect into another from one stack to another. This will require a type annotation

General lifting of a state effect into another from one stack to another. This will require a type annotation

Inherited from:
StateInterpretation
Source:
StateEffect.scala
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:
EitherCreation
Source:
EitherEffect.scala
def lensState[TS, SS, U, T, S, A](state: Eff[TS, A], getter: S => T, setter: (S, T) => S)(implicit ts: Aux[[_] =>> State[T, _$30], TS, U], ss: Aux[[_] =>> State[S, _$31], SS, U]): Eff[SS, A]

Lift a computation over a "small" state (for a subsystem) into a computation over a "bigger" state (for the full application state)

Lift a computation over a "small" state (for a subsystem) into a computation over a "bigger" state (for the full application state)

Inherited from:
StateInterpretation
Source:
StateEffect.scala
def local[R, T, U](f: T => U)(implicit member: MemberIn[[_] =>> Reader[T, _$2], R]): Eff[R, U]

modify the environment

modify the environment

Inherited from:
ReaderCreation
Source:
ReaderEffect.scala
def localEither[R, E, A](e: Eff[R, A])(modify: E => E)(implicit m: MemberInOut[[_] =>> Either[E, _$33], R]): Eff[R, A]

Update the error value, the stack of the Eff computation stays the same

Update the error value, the stack of the Eff computation stays the same

Inherited from:
EitherInterpretation
Source:
EitherEffect.scala
def localKleisli[R, T, U, F[_]](f: T => F[U])(implicit member: MemberIn[[_] =>> Kleisli[F, T, _$5], R]): Eff[R, U]

modify the environment using a Kleisli[F, T, *]

modify the environment using a Kleisli[F, T, *]

Inherited from:
ReaderCreation
Source:
ReaderEffect.scala
def localReader[R, T, A](e: Eff[R, A])(modify: T => T)(implicit r: MemberInOut[[_] =>> Reader[T, _$22], R]): Eff[R, A]

Update the read value, the stack of the Eff computation stays the same

Update the read value, the stack of the Eff computation stays the same

Inherited from:
ReaderInterpretation
Source:
ReaderEffect.scala
def localState[R, S, A](e: Eff[R, A])(modify: S => S)(implicit s: MemberInOut[[_] =>> State[S, _$38], R]): Eff[R, A]

Update the state value, the stack of the Eff computation stays the same

Update the state value, the stack of the Eff computation stays the same

Inherited from:
StateInterpretation
Source:
StateEffect.scala
def memoize[R : _memo, A](key: AnyRef, a: => A): Eff[R, A]
Inherited from:
MemoCreation
Source:
MemoEffect.scala
def memoizeEffect[R, M[_], A](e: Eff[R, A], cache: Cache, key: AnyRef)(implicit member: MemberInOut[M, R], cached: SequenceCached[M]): Eff[R, A]

Memoize an effect using a cache

Memoize an effect using a cache

all the consecutive effects M[X] leading to the computation of Eff[R, A] will be cached in the cache and retrieved from there if the Eff[R, A] computation is executed again

Inherited from:
EffInterpretation
Source:
Eff.scala
def modify[R, S](f: S => S)(implicit member: MemberIn[[_] =>> State[S, _$7], R]): Eff[R, Unit]

modify the current state value

modify the current state value

Inherited from:
StateCreation
Source:
StateEffect.scala
def none[R : _option, A]: Eff[R, A]

no value returned

no value returned

Inherited from:
OptionCreation
Source:
OptionEffect.scala
def now[R : _eval, A](a: A): Eff[R, A]
Inherited from:
EvalCreation
Source:
EvalEffect.scala
def optionEither[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:
EitherCreation
Source:
EitherEffect.scala
def otherwise[R, A](action: Eff[R, A], onThrowable: Eff[R, A])(implicit m: MemberInOut[Safe, R]): Eff[R, A]

evaluate first action possibly having exceptions

evaluate first action possibly having exceptions

Execute a second action if the first one is not successful

Inherited from:
SafeInterpretation
Source:
SafeEffect.scala
def plus[R : _choose, A](a1: => Eff[R, A], a2: => Eff[R, A]): Eff[R, A]
Inherited from:
ChooseCreation
Source:
Choose.scala
def protect[R : _safe, A](a: => A): Eff[R, A]
Inherited from:
SafeCreation
Source:
SafeEffect.scala
def pure[R, A](a: A): Eff[R, A]

create a pure value

create a pure value

Inherited from:
EffCreation
Source:
Eff.scala
def put[R, S](s: S)(implicit member: MemberIn[[_] =>> State[S, _$1], R]): Eff[R, Unit]

store a new state value

store a new state value

Inherited from:
StateCreation
Source:
StateEffect.scala
def recoverThrowable[R, A, B](action: Eff[R, A], pureValue: A => B, onThrowable: PartialFunction[Throwable, Eff[R, B]])(implicit m: MemberInOut[Safe, R]): Eff[R, B]

evaluate first action possibly having error effects

evaluate first action possibly having error effects

Execute a second action if the first one is not successful and second is defined for the error

Inherited from:
SafeInterpretation
Source:
SafeEffect.scala
def retryUntil[R, A](e: Eff[R, A], condition: A => Boolean, durations: List[FiniteDuration], waitFor: FiniteDuration => Eff[R, Unit]): Eff[R, A]
Inherited from:
EffCreation
Source:
Eff.scala
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:
EitherCreation
Source:
EitherEffect.scala
def run[A](eff: Eff[NoFx, A]): A

base runner for an Eff value having no effects at all the execution is trampolined using Eval

base runner for an Eff value having no effects at all the execution is trampolined using Eval

Inherited from:
EffInterpretation
Source:
Eff.scala
def runChoose[R, U, A, F[_] : Alternative](r: Eff[R, A])(implicit evidence$4: Alternative[F], m: Aux[Choose, R, U]): Eff[U, F[A]]
Inherited from:
ChooseInterpretation
Source:
Choose.scala
def runEither[R, U, E, A](effect: Eff[R, A])(implicit m: Aux[[_] =>> Either[E, _$8], R, U]): Eff[U, Either[E, A]]

run the Either effect, yielding E Either A

run the Either effect, yielding E Either A

Inherited from:
EitherInterpretation
Source:
EitherEffect.scala
def runEitherCatchLeft[R, U, E, A](r: Eff[R, A])(handle: E => Eff[U, A])(implicit m: Aux[[_] =>> Either[E, _$14], R, U]): Eff[U, A]

run the Either effect, handling E (with effects) and yielding A

run the Either effect, handling E (with effects) and yielding A

Inherited from:
EitherInterpretation
Source:
EitherEffect.scala
def runEitherCombine[R, U, E, A](effect: Eff[R, A])(implicit m: Aux[[_] =>> Either[E, _$9], R, U], s: Semigroup[E]): Eff[U, Either[E, A]]

run the Either effect, yielding E Either A and combine all Es

run the Either effect, yielding E Either A and combine all Es

Inherited from:
EitherInterpretation
Source:
EitherEffect.scala
def runEval[R, U, A](effect: Eff[R, A])(implicit m: Aux[Eval, R, U]): Eff[U, A]
def runFutureMemo[R, U, A](cache: Cache)(effect: Eff[R, A])(implicit m: Aux[Memoized, R, U], future: MemberIn[TimedFuture, U]): Eff[U, A]
def runIorMap[R, U, E, L : Semigroup, A](effect: Eff[R, A])(map: E => L)(implicit evidence$2: Semigroup[L], m: Aux[[_] =>> Validate[E, _$22], R, U]): Eff[U, Ior[L, A]]

run the validate effect, yielding a list of failures or A or both

run the validate effect, yielding a list of failures or A or both

Inherited from:
ValidateInterpretation
Source:
ValidateEffect.scala
def runIorNel[R, U, E, A](r: Eff[R, A])(implicit m: Aux[[_] =>> Validate[E, _$21], R, U]): Eff[U, IorNel[E, A]]

run the validate effect, yielding a non-empty list of failures or A or both

run the validate effect, yielding a non-empty list of failures or A or both

Inherited from:
ValidateInterpretation
Source:
ValidateEffect.scala
def runKleisli[R, U, S, A, F[_]](env: S)(e: Eff[R, A])(implicit mx: Aux[[_] =>> Kleisli[F, S, _$12], R, U], m: MemberIn[F, U]): Eff[U, A]

interpret the Kleisli effect by providing an environment when required and translating the resulting target effect into the same stack

interpret the Kleisli effect by providing an environment when required and translating the resulting target effect into the same stack

Inherited from:
ReaderInterpretation
Source:
ReaderEffect.scala
def runList[R, U, A](effect: Eff[R, A])(implicit m: Aux[List, R, U]): Eff[U, List[A]]

run an effect stack starting with a list effect

run an effect stack starting with a list effect

Inherited from:
ListInterpretation
Source:
ListEffect.scala
def runMap[R, U, E, L : Semigroup, A](effect: Eff[R, A])(map: E => L)(implicit evidence$1: Semigroup[L], m: Aux[[_] =>> Validate[E, _$19], R, U]): Eff[U, Either[L, A]]

run the validate effect, yielding a list of failures Either A

run the validate effect, yielding a list of failures Either A

Inherited from:
ValidateInterpretation
Source:
ValidateEffect.scala
def runMemo[R, U, A](cache: Cache)(effect: Eff[R, A])(implicit m: Aux[Memoized, R, U], eval: MemberIn[Eval, U]): Eff[U, A]
def runNel[R, U, E, A](r: Eff[R, A])(implicit m: Aux[[_] =>> Validate[E, _$18], R, U]): Eff[U, Either[NonEmptyList[E], A]]

run the validate effect, yielding a non-empty list of failures Either A

run the validate effect, yielding a non-empty list of failures Either A

Inherited from:
ValidateInterpretation
Source:
ValidateEffect.scala
def runOption[R, U, A](effect: Eff[R, A])(implicit m: Aux[Option, R, U]): Eff[U, Option[A]]

Interpret the Option effect

Interpret the Option effect

Stop all computations if None is present once

Inherited from:
OptionInterpretation
Source:
OptionEffect.scala
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
Source:
Eff.scala
def runReader[R, U, A, B](env: A)(effect: Eff[R, B])(implicit m: Aux[[_] =>> Reader[A, _$7], R, U]): Eff[U, B]

interpret the Reader effect by providing an environment when required

interpret the Reader effect by providing an environment when required

Inherited from:
ReaderInterpretation
Source:
ReaderEffect.scala
def runSafe[R, U, A](effect: Eff[R, A])(implicit m: Aux[Safe, R, U]): Eff[U, (ThrowableEither[A], List[Throwable])]

Run a safe effect

Run a safe effect

Collect finalizer exceptions if any

Inherited from:
SafeInterpretation
Source:
SafeEffect.scala
def runState[R, U, S1, A](initial: S1)(w: Eff[R, A])(implicit m: Aux[[_] =>> State[S1, _$26], R, U]): Eff[U, (A, S1)]

run a state effect, with an initial value

run a state effect, with an initial value

Inherited from:
StateInterpretation
Source:
StateEffect.scala
def runStateZero[R, U, S : Monoid, A](w: Eff[R, A])(implicit evidence$3: Monoid[S], m: Aux[[_] =>> State[S, _$25], R, U]): Eff[U, (A, S)]

run a state effect, with an initial value

run a state effect, with an initial value

Inherited from:
StateInterpretation
Source:
StateEffect.scala
def runValidatedNel[R, U, E, A](r: Eff[R, A])(implicit m: Aux[[_] =>> Validate[E, _$17], R, U]): Eff[U, ValidatedNel[E, A]]

run the validate effect, yielding a ValidatedNel

run the validate effect, yielding a ValidatedNel

Inherited from:
ValidateInterpretation
Source:
ValidateEffect.scala
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
Source:
WriterEffect.scala
def runWriterEval[R, U, O, A](w: Eff[R, A])(f: O => Eval[Unit])(implicit m: Aux[[_] =>> Writer[O, _$10], R, U], ev: MemberIn[Eval, U]): Eff[U, A]
def runWriterFold[R, U, O, A, B](w: Eff[R, A])(fold: RightFold[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
Source:
WriterEffect.scala
def runWriterIntoMonoid[R, U, O, M, A](w: Eff[R, A])(f: O => M)(implicit m: Aux[[_] =>> Writer[O, _$12], R, U], M: Monoid[M]): Eff[U, (A, M)]
def runWriterMonoid[R, U, O, A](w: Eff[R, A])(implicit m: Aux[[_] =>> Writer[O, _$11], R, U], O: Monoid[O]): Eff[U, (A, O)]
def runWriterUnsafe[R, U, O, A](w: Eff[R, A])(f: O => Unit)(implicit m: Aux[[_] =>> Writer[O, _$7], R, U]): Eff[U, A]

Run a side-effecting fold

Run a side-effecting fold

Inherited from:
WriterInterpretation
Source:
WriterEffect.scala
def safeInterpreter[R, A](last: Option[(Eff[R, Unit], MemberInOut[Safe, R])]): Interpreter[Safe, R, A, (A)]
def safeInterpreter[R, A]: Interpreter[Safe, R, A, (A)]
def safeMemo[R, A](key: AnyRef, cache: Cache, e: Eff[R, A])(implicit safe: MemberInOut[Safe, R]): Eff[R, A]

Memoize safe effects using a cache

Memoize safe effects using a cache

if this method is called with the same key the previous value will be returned

Inherited from:
SafeInterpretation
Source:
SafeEffect.scala
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
Source:
Eff.scala
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
Source:
Eff.scala
def singleton[R : _list, A](a: A): Eff[R, A]

create a list effect from a single value

create a list effect from a single value

Inherited from:
ListCreation
Source:
ListEffect.scala
def some[R : _option, A](a: A): Eff[R, A]

a value is returned

a value is returned

Inherited from:
OptionCreation
Source:
OptionEffect.scala
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
Source:
WriterEffect.scala
def thenFinally[R, A](effect: Eff[R, A], last: Eff[R, Unit])(implicit m: MemberInOut[Safe, R]): Eff[R, A]

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

evaluate first 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
Source:
SafeEffect.scala
def translateEither[R, U, E1, E2, A](r: Eff[R, A], getter: E1 => E2)(implicit sr: Aux[[_] =>> Either[E1, _$30], R, U], br: MemberIn[[_] =>> Either[E2, _$31], 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:
EitherInterpretation
Source:
EitherEffect.scala
def translateReader[R, U, S, B, A](e: Eff[R, A], getter: B => S)(implicit sr: Aux[[_] =>> Reader[S, _$14], R, U], br: MemberIn[[_] =>> Reader[B, _$15], U]): Eff[U, A]

Interpret a Reader effect by using another Reader effect in the same stack

Interpret a Reader effect by using another Reader effect in the same stack

Inherited from:
ReaderInterpretation
Source:
ReaderEffect.scala
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
Source:
Eff.scala
def unit[R]: Eff[R, Unit]

create an Eff value for ()

create an Eff value for ()

Inherited from:
EffCreation
Source:
Eff.scala
def validateCheck[R, E](condition: Boolean, e: => E)(implicit m: MemberIn[[_] =>> Validate[E, _$15], R]): Eff[R, Unit]

check a correct condition

check a correct condition

Inherited from:
ValidateCreation
Source:
ValidateEffect.scala
def validateEither[R, E, A](either: Either[E, A])(implicit m: MemberIn[[_] =>> Validate[E, _$3], R]): Eff[R, Unit]

create an Validate effect from a single Either value

create an Validate effect from a single Either value

Inherited from:
ValidateCreation
Source:
ValidateEffect.scala
def validateIor[R, E, A](ior: Ior[E, A])(implicit m: MemberIn[[_] =>> Validate[E, _$5], R]): Eff[R, Unit]

create an Validate effect from a single Ior value

create an Validate effect from a single Ior value

Inherited from:
ValidateCreation
Source:
ValidateEffect.scala
def validateOption[R, E, A](option: Option[A], e: => E)(implicit m: MemberIn[[_] =>> Validate[E, _$1], R]): Eff[R, Unit]

create an Validate effect from a single Option value

create an Validate effect from a single Option value

Inherited from:
ValidateCreation
Source:
ValidateEffect.scala
def validateValue[R, E, A](condition: Boolean, a: => A, e: => E)(implicit m: MemberIn[[_] =>> Validate[E, _$16], R]): Eff[R, A]

check a correct value

check a correct value

Inherited from:
ValidateCreation
Source:
ValidateEffect.scala
def values[R : _list, A](as: A*): Eff[R, A]

create a list effect from a list of values

create a list effect from a list of values

Inherited from:
ListCreation
Source:
ListEffect.scala
def warning[R, E, A](a: A, e: E)(implicit m: MemberIn[[_] =>> Validate[E, _$14], R]): Eff[R, A]

create a correct value with warning

create a correct value with warning

Inherited from:
ValidateCreation
Source:
ValidateEffect.scala
def warning[R, E](e: E)(implicit m: MemberIn[[_] =>> Validate[E, _$12], R]): Eff[R, Unit]

create a pure warning

create a pure warning

Inherited from:
ValidateCreation
Source:
ValidateEffect.scala
def whenFailed[R, A](action: Eff[R, A], onThrowable: Throwable => Eff[R, A])(implicit m: MemberInOut[Safe, R]): Eff[R, A]

evaluate first action possibly throwing exceptions

evaluate first 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
Source:
SafeEffect.scala
def whenStopped[R, A](e: Eff[R, A], action: Last[R]): Eff[R, A]

attach a clean-up action to the continuation (if any)

attach a clean-up action to the continuation (if any)

Inherited from:
EffCreation
Source:
Eff.scala
def whenThrowable[R, A](action: Eff[R, A], onThrowable: PartialFunction[Throwable, Eff[R, A]])(implicit m: MemberInOut[Safe, R]): Eff[R, A]

evaluate first action possibly throwing exceptions

evaluate first action possibly throwing exceptions

Execute a second action if the first one is not successful and second is defined for the error

The final value type is the same as the original type

Inherited from:
SafeInterpretation
Source:
SafeEffect.scala
def wrong[R, E](e: E)(implicit m: MemberIn[[_] =>> Validate[E, _$8], R]): Eff[R, Unit]

create a failed value

create a failed value

Inherited from:
ValidateCreation
Source:
ValidateEffect.scala
def zero[R : _choose, A]: Eff[R, A]
Inherited from:
ChooseCreation
Source:
Choose.scala
def zoomEither[SR, BR, U1, U2, E1, E2, A](r: Eff[SR, A], getter: E1 => E2)(implicit sr: Aux[[_] =>> Either[E1, _$24], SR, U1], br: Aux[[_] =>> Either[E2, _$25], BR, U2], into: IntoPoly[U1, U2]): Eff[BR, A]

Modify the type of the read value

Modify the type of the read value

This changes the stack of the Eff computation

Inherited from:
EitherInterpretation
Source:
EitherEffect.scala
def zoomReader[R1, R2, U, S, T, A](e: Eff[R1, A])(f: T => S)(implicit readerS: Aux[[_] =>> Reader[S, _$18], R1, U], readerT: Aux[[_] =>> Reader[T, _$19], R2, U]): Eff[R2, A]

Modify the type of the read value

Modify the type of the read value

This changes the stack of the Eff computation

Inherited from:
ReaderInterpretation
Source:
ReaderEffect.scala

Implicits

Inherited implicits

final implicit def EffMonad[R]: Monad[[_] =>> Eff[R, _$12]]
Inherited from:
EffImplicits
Source:
Eff.scala
implicit def ListFold[A]: RightFold[A, List[A]]
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]

Inherited from:
EvalInterpretation
Source:
EvalEffect.scala