Uses of Interface
com.github.tonivade.purefun.type.Eval
Packages that use Eval
Package
Description
-
Uses of Eval in com.github.tonivade.purefun.instances
Methods in com.github.tonivade.purefun.instances that return EvalModifier and TypeMethodDescriptiondefault <A,B> Eval <B> ConstFoldable.foldRight(Kind<Const<T, ?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> EitherFoldable.foldRight(Kind<Either<L, ?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> IdFoldable.foldRight(Kind<Id<?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> OptionFoldable.foldRight(Kind<Option<?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> SequenceFoldable.foldRight(Kind<Sequence<?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> TryFoldable.foldRight(Kind<Try<?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <T,R> Eval <R> Methods in com.github.tonivade.purefun.instances that return types with arguments of type EvalModifier and TypeMethodDescriptionEvalApplicative.ap(Kind<Eval<?>, ? extends T> value, Kind<Eval<?>, ? extends Function1<? super T, ? extends R>> apply) static Applicative<Eval<?>> EvalInstances.applicative()EvalComonad.coflatMap(Kind<Eval<?>, ? extends A> value, Function1<? super Kind<Eval<?>, ? extends A>, ? extends B> map) EvalInstances.comonad()EvalInstances.defer()EvalMonad.flatMap(Kind<Eval<?>, ? extends T> value, Function1<? super T, ? extends Kind<Eval<?>, ? extends R>> map) EvalInstances.functor()EvalMonadError.handleErrorWith(Kind<Eval<?>, A> value, Function1<? super Throwable, ? extends Kind<Eval<?>, ? extends A>> handler) EvalInstances.monad()static MonadError<Eval<?>, Throwable> EvalInstances.monadError()static MonadThrow<Eval<?>> EvalInstances.monadThrow()EvalPure.pure(T value) EvalMonadError.raiseError(Throwable error) Methods in com.github.tonivade.purefun.instances with parameters of type EvalModifier and TypeMethodDescriptiondefault <A,B> Eval <B> ConstFoldable.foldRight(Kind<Const<T, ?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> EitherFoldable.foldRight(Kind<Either<L, ?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> IdFoldable.foldRight(Kind<Id<?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> OptionFoldable.foldRight(Kind<Option<?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> SequenceFoldable.foldRight(Kind<Sequence<?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> TryFoldable.foldRight(Kind<Try<?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) Method parameters in com.github.tonivade.purefun.instances with type arguments of type EvalModifier and TypeMethodDescriptionEvalApplicative.ap(Kind<Eval<?>, ? extends T> value, Kind<Eval<?>, ? extends Function1<? super T, ? extends R>> apply) EvalComonad.coflatMap(Kind<Eval<?>, ? extends A> value, Function1<? super Kind<Eval<?>, ? extends A>, ? extends B> map) EvalComonad.coflatMap(Kind<Eval<?>, ? extends A> value, Function1<? super Kind<Eval<?>, ? extends A>, ? extends B> map) default <A> AEvalMonad.flatMap(Kind<Eval<?>, ? extends T> value, Function1<? super T, ? extends Kind<Eval<?>, ? extends R>> map) EvalMonad.flatMap(Kind<Eval<?>, ? extends T> value, Function1<? super T, ? extends Kind<Eval<?>, ? extends R>> map) default <A,B> Eval <B> ConstFoldable.foldRight(Kind<Const<T, ?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> ConstFoldable.foldRight(Kind<Const<T, ?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> EitherFoldable.foldRight(Kind<Either<L, ?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> EitherFoldable.foldRight(Kind<Either<L, ?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> IdFoldable.foldRight(Kind<Id<?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> IdFoldable.foldRight(Kind<Id<?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> OptionFoldable.foldRight(Kind<Option<?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> OptionFoldable.foldRight(Kind<Option<?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> SequenceFoldable.foldRight(Kind<Sequence<?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> SequenceFoldable.foldRight(Kind<Sequence<?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> TryFoldable.foldRight(Kind<Try<?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> TryFoldable.foldRight(Kind<Try<?>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) EvalMonadError.handleErrorWith(Kind<Eval<?>, A> value, Function1<? super Throwable, ? extends Kind<Eval<?>, ? extends A>> handler) EvalMonadError.handleErrorWith(Kind<Eval<?>, A> value, Function1<? super Throwable, ? extends Kind<Eval<?>, ? extends A>> handler) default <T,R> Eval <R> -
Uses of Eval in com.github.tonivade.purefun.type
Classes in com.github.tonivade.purefun.type that implement EvalModifier and TypeClassDescriptionstatic final classEval.Defer<A>static final classEval.Done<A>static final classEval.FlatMapped<A,B> Fields in com.github.tonivade.purefun.type declared as EvalFields in com.github.tonivade.purefun.type with type parameters of type EvalMethods in com.github.tonivade.purefun.type that return EvalModifier and TypeMethodDescriptionstatic <T> Eval<T> private static <A,X> Eval <A> static <T> Eval<T> <R> Eval<R> <R> Eval<R> <R> Eval<R> <R> Eval<R> static <T> Eval<T> default <R> Eval<R> Eval.Defer.next()static <T> Eval<T> Eval.now(T value) static <T> Eval<T> Eval.raiseError(Throwable error) Eval.FlatMapped.start()static <A> Eval<A> Methods in com.github.tonivade.purefun.type with parameters of type EvalMethod parameters in com.github.tonivade.purefun.type with type arguments of type EvalModifier and TypeMethodDescriptionstatic <T> Eval<T> <R> Eval<R> <R> Eval<R> <R> Eval<R> <R> Eval<R> static <A> Eval<A> Constructor parameters in com.github.tonivade.purefun.type with type arguments of type EvalModifierConstructorDescriptionprivateprivateFlatMapped(Producer<? extends Kind<Eval<?>, ? extends A>> start, Function1<? super A, ? extends Kind<Eval<?>, ? extends B>> run) privateFlatMapped(Producer<? extends Kind<Eval<?>, ? extends A>> start, Function1<? super A, ? extends Kind<Eval<?>, ? extends B>> run) -
Uses of Eval in com.github.tonivade.purefun.typeclasses
Methods in com.github.tonivade.purefun.typeclasses that return EvalModifier and TypeMethodDescriptionSelective.allS(Kind<G, ? extends A> values, Function1<? super A, ? extends Kind<F, Boolean>> condition, G... reified) Selective.allS(Foldable<G> foldable, Kind<G, ? extends A> values, Function1<? super A, ? extends Kind<F, Boolean>> condition) Selective.anyS(Kind<G, ? extends A> values, Function1<? super A, ? extends Kind<F, Boolean>> condition, G... reified) Selective.anyS(Foldable<G> foldable, Kind<G, ? extends A> values, Function1<? super A, ? extends Kind<F, Boolean>> condition) default <A,B> Eval <B> ComposedFoldable.foldRight(Kind<Nested<F, G>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) <A,B> Eval <B> Foldable.foldRight(Kind<F, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) Methods in com.github.tonivade.purefun.typeclasses with parameters of type EvalModifier and TypeMethodDescriptiondefault <A,B> Eval <B> ComposedFoldable.foldRight(Kind<Nested<F, G>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) <A,B> Eval <B> Foldable.foldRight(Kind<F, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) Method parameters in com.github.tonivade.purefun.typeclasses with type arguments of type EvalModifier and TypeMethodDescriptiondefault <A,B> Eval <B> ComposedFoldable.foldRight(Kind<Nested<F, G>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) default <A,B> Eval <B> ComposedFoldable.foldRight(Kind<Nested<F, G>, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) <A,B> Eval <B> Foldable.foldRight(Kind<F, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper) <A,B> Eval <B> Foldable.foldRight(Kind<F, ? extends A> value, Eval<? extends B> initial, Function2<? super A, ? super Eval<? extends B>, ? extends Eval<? extends B>> mapper)