object create extends ReaderCreation with WriterCreation with StateCreation with EvalCreation with OptionCreation with ListCreation with EitherCreation with ValidateCreation with ChooseCreation with FutureCreation with MemoCreation with EffCreation with SafeCreation
- Alphabetic
- By Inheritance
- create
- SafeCreation
- SafeTypes
- EffCreation
- MemoCreation
- MemoTypes
- FutureCreation
- FutureTypes
- ChooseCreation
- ValidateCreation
- EitherCreation
- ListCreation
- OptionCreation
- EvalCreation
- EvalTypes
- StateCreation
- WriterCreation
- ReaderCreation
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
type
ThrowableEither[A] = Either[Throwable, A]
- Definition Classes
- EitherCreation
-
type
_Choose[R] = Member[Choose, R]
- Definition Classes
- ChooseCreation
-
type
_Eval[R] = Member[Eval, R]
- Definition Classes
- EvalTypes
-
type
_Future[R] = Member[TimedFuture, R]
- Definition Classes
- FutureTypes
-
type
_List[R] = Member[List, R]
- Definition Classes
- ListCreation
-
type
_Memo[R] = Member[Memoized, R]
- Definition Classes
- MemoTypes
-
type
_Option[R] = Member[Option, R]
- Definition Classes
- OptionCreation
-
type
_Safe[R] = Member[Safe, R]
- Definition Classes
- SafeTypes
-
type
_ThrowableEither[R] = Member[ThrowableEither, R]
- Definition Classes
- EitherCreation
-
type
_choose[R] = MemberIn[Choose, R]
- Definition Classes
- ChooseCreation
-
type
_eval[R] = MemberIn[Eval, R]
- Definition Classes
- EvalTypes
-
type
_future[R] = MemberIn[TimedFuture, R]
- Definition Classes
- FutureTypes
-
type
_list[R] = MemberIn[List, R]
- Definition Classes
- ListCreation
-
type
_memo[R] = MemberIn[Memoized, R]
- Definition Classes
- MemoTypes
-
type
_option[R] = MemberIn[Option, R]
- Definition Classes
- OptionCreation
-
type
_safe[R] = MemberIn[Safe, R]
- Definition Classes
- SafeTypes
-
type
_throwableEither[R] = MemberIn[ThrowableEither, R]
- Definition Classes
- EitherCreation
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
- Definition Classes
- EffCreation
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
ask[R, T](implicit member: |=[[β$0$]Kleisli[[A]A, T, β$0$], R]): Eff[R, T]
get the environment
get the environment
- Definition Classes
- ReaderCreation
-
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
- Definition Classes
- EffCreation
-
def
catchNonFatalThrowable[R, A](a: ⇒ A)(implicit member: |=[[β$7$]Either[Throwable, β$7$], 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
- Definition Classes
- EitherCreation
-
def
chooseFrom[R, A](as: List[A])(implicit arg0: _choose[R]): Eff[R, A]
- Definition Classes
- ChooseCreation
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
collapse[R, M[_], A](r: Eff[R, M[A]])(implicit m: |=[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
- Definition Classes
- EffCreation
-
def
correct[R, E, A](a: A)(implicit m: |=[[β$4$]Validate[E, β$4$], R]): Eff[R, A]
create a correct value
create a correct value
- Definition Classes
- ValidateCreation
-
def
defer[R, A](eff: ⇒ Eval[Eff[R, A]])(implicit arg0: _eval[R]): Eff[R, A]
- Definition Classes
- EvalCreation
-
def
delay[R, A](a: ⇒ A)(implicit arg0: _eval[R]): Eff[R, A]
- Definition Classes
- EvalCreation
-
def
empty[R, A](implicit arg0: _list[R]): Eff[R, A]
create a list effect with no values
create a list effect with no values
- Definition Classes
- ListCreation
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
eval[R, A](a: Eval[A])(implicit arg0: _safe[R]): Eff[R, A]
- Definition Classes
- SafeCreation
-
def
exception[R, A](t: Throwable)(implicit arg0: _safe[R]): Eff[R, A]
- Definition Classes
- SafeCreation
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
finalizerException[R](t: Throwable)(implicit arg0: _safe[R]): Eff[R, Unit]
- Definition Classes
- SafeCreation
-
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
- Definition Classes
- EffCreation
-
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
- Definition Classes
- EffCreation
-
def
fromCatchNonFatal[R, E, A](a: ⇒ A)(onThrowable: (Throwable) ⇒ E)(implicit member: |=[[β$6$]Either[E, β$6$], 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
- Definition Classes
- EitherCreation
-
def
fromEither[R, E, A](Either: Either[E, A])(implicit member: |=[[β$1$]Either[E, β$1$], R]): Eff[R, A]
create an Either effect from a single Either value
create an Either effect from a single Either value
- Definition Classes
- EitherCreation
-
final
def
fromFuture[R, A](c: ⇒ Future[A], timeout: Option[FiniteDuration] = None)(implicit arg0: _future[R]): Eff[R, A]
- Definition Classes
- FutureCreation
-
final
def
fromFutureWithExecutors[R, A](c: (Scheduler, ExecutionContext) ⇒ Future[A], timeout: Option[FiniteDuration] = None)(implicit arg0: _future[R]): Eff[R, A]
- Definition Classes
- FutureCreation
-
def
fromList[R, A](as: List[A])(implicit arg0: _list[R]): Eff[R, A]
create a list effect from a list of values
create a list effect from a list of values
- Definition Classes
- ListCreation
-
def
fromOption[R, A](o: Option[A])(implicit arg0: _option[R]): Eff[R, A]
create an Option effect from a single Option value
create an Option effect from a single Option value
- Definition Classes
- OptionCreation
-
final
def
futureDefer[R, A](a: ⇒ Future[A], timeout: Option[FiniteDuration] = None)(implicit arg0: _future[R]): Eff[R, A]
- Definition Classes
- FutureCreation
-
final
def
futureDelay[R, A](a: ⇒ A, timeout: Option[FiniteDuration] = None)(implicit arg0: _future[R]): Eff[R, A]
- Definition Classes
- FutureCreation
-
final
def
futureFail[R, A](t: Throwable)(implicit arg0: _future[R]): Eff[R, A]
- Definition Classes
- FutureCreation
-
final
def
futureFork[R, A](a: ⇒ A, ec: ExecutionContext, timeout: Option[FiniteDuration] = None)(implicit arg0: _future[R]): Eff[R, A]
- Definition Classes
- FutureCreation
-
final
def
futureFromEither[R, A](e: Either[Throwable, A])(implicit arg0: _future[R]): Eff[R, A]
- Definition Classes
- FutureCreation
-
def
get[R, S](implicit member: |=[[β$2$]StateT[Eval, S, β$2$], R]): Eff[R, S]
get the current state value
get the current state value
- Definition Classes
- StateCreation
-
def
getCache[R](implicit arg0: _memo[R]): Eff[R, Cache]
- Definition Classes
- MemoCreation
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
gets[R, S, T](f: (S) ⇒ T)(implicit member: |=[[β$4$]StateT[Eval, S, β$4$], 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
- Definition Classes
- StateCreation
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
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
- Definition Classes
- EffCreation
-
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
- Definition Classes
- EffCreation
-
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
- Definition Classes
- EffCreation
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
left[R, E, A](e: E)(implicit member: |=[[β$2$]Either[E, β$2$], R]): Eff[R, A]
create a failed value
create a failed value
- Definition Classes
- EitherCreation
-
def
local[R, T, U](f: (T) ⇒ U)(implicit member: |=[[β$1$]Kleisli[[A]A, T, β$1$], R]): Eff[R, U]
modify the environment
modify the environment
- Definition Classes
- ReaderCreation
-
def
localKleisli[R, T, U, F[_]](f: (T) ⇒ F[U])(implicit member: |=[[γ$3$]Kleisli[F, T, γ$3$], R]): Eff[R, U]
modify the environment using a Kleisli[F, T, ?]
modify the environment using a Kleisli[F, T, ?]
- Definition Classes
- ReaderCreation
-
def
memoize[R, A](key: AnyRef, a: ⇒ A)(implicit arg0: _memo[R]): Eff[R, A]
- Definition Classes
- MemoCreation
-
def
modify[R, S](f: (S) ⇒ S)(implicit member: |=[[β$6$]StateT[Eval, S, β$6$], R]): Eff[R, Unit]
modify the current state value
modify the current state value
- Definition Classes
- StateCreation
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
none[R, A](implicit arg0: _option[R]): Eff[R, A]
no value returned
no value returned
- Definition Classes
- OptionCreation
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
now[R, A](a: A)(implicit arg0: _eval[R]): Eff[R, A]
- Definition Classes
- EvalCreation
-
def
optionEither[R, E, A](option: Option[A], e: E)(implicit member: |=[[β$0$]Either[E, β$0$], R]): Eff[R, A]
create an Either effect from a single Option value
create an Either effect from a single Option value
- Definition Classes
- EitherCreation
-
def
plus[R, A](a1: Eff[R, A], a2: Eff[R, A])(implicit arg0: _choose[R]): Eff[R, A]
- Definition Classes
- ChooseCreation
-
def
protect[R, A](a: ⇒ A)(implicit arg0: _safe[R]): Eff[R, A]
- Definition Classes
- SafeCreation
-
def
pure[R, A](a: A): Eff[R, A]
create a pure value
create a pure value
- Definition Classes
- EffCreation
-
def
put[R, S](s: S)(implicit member: |=[[β$0$]StateT[Eval, S, β$0$], R]): Eff[R, Unit]
store a new state value
store a new state value
- Definition Classes
- StateCreation
-
def
right[R, E, A](a: A)(implicit member: |=[[β$4$]Either[E, β$4$], R]): Eff[R, A]
create a correct value
create a correct value
- Definition Classes
- EitherCreation
-
def
send[T[_], R, V](tv: T[V])(implicit member: |=[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
- Definition Classes
- EffCreation
-
def
sequenceA[R, F[_], A](fs: F[Eff[R, A]])(implicit arg0: Traverse[F]): 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
- Definition Classes
- EffCreation
-
def
singleton[R, A](a: A)(implicit arg0: _list[R]): Eff[R, A]
create a list effect from a single value
create a list effect from a single value
- Definition Classes
- ListCreation
-
def
some[R, A](a: A)(implicit arg0: _option[R]): Eff[R, A]
a value is returned
a value is returned
- Definition Classes
- OptionCreation
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tell[R, O](o: O)(implicit member: |=[[β$0$]WriterT[[A]A, O, β$0$], R]): Eff[R, Unit]
write a given value
write a given value
- Definition Classes
- WriterCreation
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
traverseA[R, F[_], A, B](fs: F[A])(f: (A) ⇒ Eff[R, B])(implicit arg0: Traverse[F]): 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
- Definition Classes
- EffCreation
-
def
unit[R]: Eff[R, Unit]
create an Eff value for ()
create an Eff value for ()
- Definition Classes
- EffCreation
-
def
validateCheck[R, E](condition: Boolean, e: E)(implicit m: |=[[β$6$]Validate[E, β$6$], R]): Eff[R, Unit]
check a correct condition
check a correct condition
- Definition Classes
- ValidateCreation
-
def
validateEither[R, E, A](either: Either[E, A])(implicit m: |=[[β$1$]Validate[E, β$1$], R]): Eff[R, Unit]
create an Validate effect from a single Either value
create an Validate effect from a single Either value
- Definition Classes
- ValidateCreation
-
def
validateOption[R, E, A](option: Option[A], e: E)(implicit m: |=[[β$0$]Validate[E, β$0$], R]): Eff[R, Unit]
create an Validate effect from a single Option value
create an Validate effect from a single Option value
- Definition Classes
- ValidateCreation
-
def
validateValue[R, E, A](condition: Boolean, a: A, e: E)(implicit m: |=[[β$7$]Validate[E, β$7$], R]): Eff[R, A]
check a correct value
check a correct value
- Definition Classes
- ValidateCreation
-
def
values[R, A](as: A*)(implicit arg0: _list[R]): Eff[R, A]
create a list effect from a list of values
create a list effect from a list of values
- Definition Classes
- ListCreation
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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)
- Definition Classes
- EffCreation
-
def
wrong[R, E](e: E)(implicit m: |=[[β$2$]Validate[E, β$2$], R]): Eff[R, Unit]
create a failed value
create a failed value
- Definition Classes
- ValidateCreation
-
def
zero[R, A](implicit arg0: _choose[R]): Eff[R, A]
- Definition Classes
- ChooseCreation