Object

org.atnos.eff

create

Related Doc: package eff

Permalink

object create extends ReaderCreation with WriterCreation with StateCreation with EvalCreation with OptionCreation with ListCreation with EitherCreation with ValidateCreation with ChooseCreation with AsyncCreation with EffCreation with SafeCreation

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. create
  2. SafeCreation
  3. SafeTypes
  4. EffCreation
  5. AsyncCreation
  6. ChooseCreation
  7. ValidateCreation
  8. EitherCreation
  9. ListCreation
  10. OptionCreation
  11. EvalCreation
  12. EvalTypes
  13. StateCreation
  14. WriterCreation
  15. ReaderCreation
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ThrowableEither[A] = Either[Throwable, A]

    Permalink
    Definition Classes
    EitherCreation
  2. type _Async[R] = Member[Async, R]

    Permalink
    Definition Classes
    AsyncCreation
  3. type _Choose[R] = Member[Choose, R]

    Permalink
    Definition Classes
    ChooseCreation
  4. type _Eval[R] = Member[Eval, R]

    Permalink
    Definition Classes
    EvalTypes
  5. type _List[R] = Member[List, R]

    Permalink
    Definition Classes
    ListCreation
  6. type _Option[R] = Member[Option, R]

    Permalink
    Definition Classes
    OptionCreation
  7. type _Safe[R] = Member[Safe, R]

    Permalink
    Definition Classes
    SafeTypes
  8. type _ThrowableEither[R] = Member[ThrowableEither, R]

    Permalink
    Definition Classes
    EitherCreation
  9. type _async[R] = MemberIn[Async, R]

    Permalink
    Definition Classes
    AsyncCreation
  10. type _choose[R] = MemberIn[Choose, R]

    Permalink
    Definition Classes
    ChooseCreation
  11. type _eval[R] = MemberIn[Eval, R]

    Permalink
    Definition Classes
    EvalTypes
  12. type _list[R] = MemberIn[List, R]

    Permalink
    Definition Classes
    ListCreation
  13. type _option[R] = MemberIn[Option, R]

    Permalink
    Definition Classes
    OptionCreation
  14. type _safe[R] = MemberIn[Safe, R]

    Permalink
    Definition Classes
    SafeTypes
  15. type _throwableEither[R] = MemberIn[ThrowableEither, R]

    Permalink
    Definition Classes
    EitherCreation

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def ap[R, A, B](a: Eff[R, A])(f: Eff[R, (A) ⇒ B]): Eff[R, B]

    Permalink

    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
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def ask[R, T](implicit member: |=[[β$0$]Kleisli[[A]A, T, β$0$], R]): Eff[R, T]

    Permalink

    get the environment

    get the environment

    Definition Classes
    ReaderCreation
  7. def async[R, A](subscribe: Subscribe[A], timeout: Option[FiniteDuration] = None)(implicit arg0: _async[R]): Eff[R, A]

    Permalink
    Definition Classes
    AsyncCreation
  8. def asyncDelay[R, A](a: ⇒ A, timeout: Option[FiniteDuration] = None)(implicit arg0: _async[R]): Eff[R, A]

    Permalink
    Definition Classes
    AsyncCreation
  9. def asyncFail[R, A](t: Throwable)(implicit arg0: _async[R]): Eff[R, A]

    Permalink
    Definition Classes
    AsyncCreation
  10. def asyncFork[R, A](a: ⇒ A, timeout: Option[FiniteDuration] = None)(implicit arg0: _async[R]): Eff[R, A]

    Permalink
    Definition Classes
    AsyncCreation
  11. def asyncNow[R, A](a: A)(implicit arg0: _async[R]): Eff[R, A]

    Permalink
    Definition Classes
    AsyncCreation
  12. def catchNonFatalThrowable[R, A](a: ⇒ A)(implicit member: |=[[β$7$]Either[Throwable, β$7$], R]): Eff[R, A]

    Permalink

    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
  13. def chooseFrom[R, A](as: List[A])(implicit arg0: _choose[R]): Eff[R, A]

    Permalink
    Definition Classes
    ChooseCreation
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def collapse[R, M[_], A](r: Eff[R, M[A]])(implicit m: |=[M, R]): Eff[R, A]

    Permalink

    use the internal effect as one of the stack effects

    use the internal effect as one of the stack effects

    Definition Classes
    EffCreation
  16. def correct[R, E, A](a: A)(implicit m: |=[[β$4$]Validate[E, β$4$], R]): Eff[R, A]

    Permalink

    create a correct value

    create a correct value

    Definition Classes
    ValidateCreation
  17. def defer[R, A](eff: ⇒ Eval[Eff[R, A]])(implicit arg0: _eval[R]): Eff[R, A]

    Permalink
    Definition Classes
    EvalCreation
  18. def delay[R, A](a: ⇒ A)(implicit arg0: _eval[R]): Eff[R, A]

    Permalink
    Definition Classes
    EvalCreation
  19. def empty[R, A](implicit arg0: _list[R]): Eff[R, A]

    Permalink

    create a list effect with no values

    create a list effect with no values

    Definition Classes
    ListCreation
  20. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  22. def eval[R, A](a: Eval[A])(implicit arg0: _safe[R]): Eff[R, A]

    Permalink
    Definition Classes
    SafeCreation
  23. def exception[R, A](t: Throwable)(implicit arg0: _safe[R]): Eff[R, A]

    Permalink
    Definition Classes
    SafeCreation
  24. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def finalizerException[R](t: Throwable)(implicit arg0: _safe[R]): Eff[R, Unit]

    Permalink
    Definition Classes
    SafeCreation
  26. def flatSequenceA[R, F[_], A](fs: F[Eff[R, F[A]]])(implicit FT: Traverse[F], FM: FlatMap[F]): Eff[R, F[A]]

    Permalink

    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
  27. 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]]

    Permalink

    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
  28. def fork[R, A](a: ⇒ Async[A], timeout: Option[FiniteDuration] = None)(implicit arg0: _async[R]): Eff[R, A]

    Permalink
    Definition Classes
    AsyncCreation
  29. def fromCatchNonFatal[R, E, A](a: ⇒ A)(onThrowable: (Throwable) ⇒ E)(implicit member: |=[[β$6$]Either[E, β$6$], R]): Eff[R, A]

    Permalink

    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
  30. def fromEither[R, E, A](Either: Either[E, A])(implicit member: |=[[β$1$]Either[E, β$1$], R]): Eff[R, A]

    Permalink

    create an Either effect from a single Either value

    create an Either effect from a single Either value

    Definition Classes
    EitherCreation
  31. def fromList[R, A](as: List[A])(implicit arg0: _list[R]): Eff[R, A]

    Permalink

    create a list effect from a list of values

    create a list effect from a list of values

    Definition Classes
    ListCreation
  32. def fromOption[R, A](o: Option[A])(implicit arg0: _option[R]): Eff[R, A]

    Permalink

    create an Option effect from a single Option value

    create an Option effect from a single Option value

    Definition Classes
    OptionCreation
  33. def get[R, S](implicit member: |=[[β$2$]StateT[Eval, S, β$2$], R]): Eff[R, S]

    Permalink

    get the current state value

    get the current state value

    Definition Classes
    StateCreation
  34. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  35. def gets[R, S, T](f: (S) ⇒ T)(implicit member: |=[[β$4$]StateT[Eval, S, β$4$], R]): Eff[R, T]

    Permalink

    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
  36. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  37. def impure[R, X, A](union: Union[R, X], continuation: Arrs[R, X, A]): Eff[R, A]

    Permalink

    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
  38. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  39. def left[R, E, A](e: E)(implicit member: |=[[β$2$]Either[E, β$2$], R]): Eff[R, A]

    Permalink

    create a failed value

    create a failed value

    Definition Classes
    EitherCreation
  40. def local[R, T, U](f: (T) ⇒ U)(implicit member: |=[[β$1$]Kleisli[[A]A, T, β$1$], R]): Eff[R, U]

    Permalink

    modify the environment

    modify the environment

    Definition Classes
    ReaderCreation
  41. def modify[R, S](f: (S) ⇒ S)(implicit member: |=[[β$6$]StateT[Eval, S, β$6$], R]): Eff[R, Unit]

    Permalink

    modify the current state value

    modify the current state value

    Definition Classes
    StateCreation
  42. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  43. def none[R, A](implicit arg0: _option[R]): Eff[R, A]

    Permalink

    no value returned

    no value returned

    Definition Classes
    OptionCreation
  44. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  45. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  46. def now[R, A](a: A)(implicit arg0: _eval[R]): Eff[R, A]

    Permalink
    Definition Classes
    EvalCreation
  47. def optionEither[R, E, A](option: Option[A], e: E)(implicit member: |=[[β$0$]Either[E, β$0$], R]): Eff[R, A]

    Permalink

    create an Either effect from a single Option value

    create an Either effect from a single Option value

    Definition Classes
    EitherCreation
  48. def plus[R, A](a1: Eff[R, A], a2: Eff[R, A])(implicit arg0: _choose[R]): Eff[R, A]

    Permalink
    Definition Classes
    ChooseCreation
  49. def protect[R, A](a: ⇒ A)(implicit arg0: _safe[R]): Eff[R, A]

    Permalink
    Definition Classes
    SafeCreation
  50. def pure[R, A](a: A): Eff[R, A]

    Permalink

    create a pure value

    create a pure value

    Definition Classes
    EffCreation
  51. def put[R, S](s: S)(implicit member: |=[[β$0$]StateT[Eval, S, β$0$], R]): Eff[R, Unit]

    Permalink

    store a new state value

    store a new state value

    Definition Classes
    StateCreation
  52. def right[R, E, A](a: A)(implicit member: |=[[β$4$]Either[E, β$4$], R]): Eff[R, A]

    Permalink

    create a correct value

    create a correct value

    Definition Classes
    EitherCreation
  53. def send[T[_], R, V](tv: T[V])(implicit member: |=[T, R]): Eff[R, V]

    Permalink

    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
  54. def sequenceA[R, F[_], A](fs: F[Eff[R, A]])(implicit arg0: Traverse[F]): Eff[R, F[A]]

    Permalink

    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
  55. def singleton[R, A](a: A)(implicit arg0: _list[R]): Eff[R, A]

    Permalink

    create a list effect from a single value

    create a list effect from a single value

    Definition Classes
    ListCreation
  56. def some[R, A](a: A)(implicit arg0: _option[R]): Eff[R, A]

    Permalink

    a value is returned

    a value is returned

    Definition Classes
    OptionCreation
  57. def subscribe[R, A](c: Subscribe[A], timeout: Option[FiniteDuration] = None)(implicit arg0: _async[R]): Eff[R, A]

    Permalink
    Definition Classes
    AsyncCreation
  58. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  59. def tell[R, O](o: O)(implicit member: |=[[β$0$]WriterT[[A]A, O, β$0$], R]): Eff[R, Unit]

    Permalink

    write a given value

    write a given value

    Definition Classes
    WriterCreation
  60. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  61. def traverseA[R, F[_], A, B](fs: F[A])(f: (A) ⇒ Eff[R, B])(implicit arg0: Traverse[F]): Eff[R, F[B]]

    Permalink

    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
  62. def unit[R]: Eff[R, Unit]

    Permalink

    create an Eff value for ()

    create an Eff value for ()

    Definition Classes
    EffCreation
  63. def validateCheck[R, E](condition: Boolean, e: E)(implicit m: |=[[β$6$]Validate[E, β$6$], R]): Eff[R, Unit]

    Permalink

    check a correct condition

    check a correct condition

    Definition Classes
    ValidateCreation
  64. def validateEither[R, E, A](either: Either[E, A])(implicit m: |=[[β$1$]Validate[E, β$1$], R]): Eff[R, Unit]

    Permalink

    create an Validate effect from a single Either value

    create an Validate effect from a single Either value

    Definition Classes
    ValidateCreation
  65. def validateOption[R, E, A](option: Option[A], e: E)(implicit m: |=[[β$0$]Validate[E, β$0$], R]): Eff[R, Unit]

    Permalink

    create an Validate effect from a single Option value

    create an Validate effect from a single Option value

    Definition Classes
    ValidateCreation
  66. def validateValue[R, E, A](condition: Boolean, a: A, e: E)(implicit m: |=[[β$7$]Validate[E, β$7$], R]): Eff[R, A]

    Permalink

    check a correct value

    check a correct value

    Definition Classes
    ValidateCreation
  67. def values[R, A](as: A*)(implicit arg0: _list[R]): Eff[R, A]

    Permalink

    create a list effect from a list of values

    create a list effect from a list of values

    Definition Classes
    ListCreation
  68. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  70. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. def wrong[R, E](e: E)(implicit m: |=[[β$2$]Validate[E, β$2$], R]): Eff[R, Unit]

    Permalink

    create a failed value

    create a failed value

    Definition Classes
    ValidateCreation
  72. def zero[R, A](implicit arg0: _choose[R]): Eff[R, A]

    Permalink
    Definition Classes
    ChooseCreation

Inherited from SafeCreation

Inherited from SafeTypes

Inherited from EffCreation

Inherited from AsyncCreation

Inherited from ChooseCreation

Inherited from ValidateCreation

Inherited from EitherCreation

Inherited from ListCreation

Inherited from OptionCreation

Inherited from EvalCreation

Inherited from EvalTypes

Inherited from StateCreation

Inherited from WriterCreation

Inherited from ReaderCreation

Inherited from AnyRef

Inherited from Any

Ungrouped