create

Source:
all.scala
create.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 _Future[R] = Member[TimedFuture, R]
Inherited from:
FutureTypes
Source:
FutureEffect.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
Inherited from:
FutureTypes
Source:
FutureEffect.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

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 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 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 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 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 exception[R : _safe, A](t: Throwable): Eff[R, A]
Inherited from:
SafeCreation
Source:
SafeEffect.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
final def fromFuture[R : _future, A](c: => Future[A], timeout: Option[FiniteDuration]): Eff[R, A]
Inherited from:
FutureCreation
Source:
FutureEffect.scala
final def fromFutureWithExecutors[R : _future, A](c: (Scheduler, ExecutionContext) => Future[A], timeout: Option[FiniteDuration]): Eff[R, A]
Inherited from:
FutureCreation
Source:
FutureEffect.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
final def futureDefer[R : _future, A](a: => Future[A], timeout: Option[FiniteDuration]): Eff[R, A]
Inherited from:
FutureCreation
Source:
FutureEffect.scala
final def futureDelay[R : _future, A](a: => A, timeout: Option[FiniteDuration]): Eff[R, A]
Inherited from:
FutureCreation
Source:
FutureEffect.scala
final def futureFail[R : _future, A](t: Throwable): Eff[R, A]
Inherited from:
FutureCreation
Source:
FutureEffect.scala
final def futureFork[R : _future, A](a: => A, ec: ExecutionContext, timeout: Option[FiniteDuration]): Eff[R, A]
Inherited from:
FutureCreation
Source:
FutureEffect.scala
final def futureFromEither[R : _future, A](e: Either[Throwable, A]): Eff[R, A]
Inherited from:
FutureCreation
Source:
FutureEffect.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 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 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 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 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 memoize[R : _memo, A](key: AnyRef, a: => A): Eff[R, A]
Inherited from:
MemoCreation
Source:
MemoEffect.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 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 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 retryUntil[R : _future, A](e: Eff[R, A], condition: A => Boolean, durations: List[FiniteDuration]): Eff[R, A]
Inherited from:
FutureCreation
Source:
FutureEffect.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 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 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 waitFor[R : _future](duration: FiniteDuration): Eff[R, Unit]
Inherited from:
FutureCreation
Source:
FutureEffect.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 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 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