Uses of Class
com.jnape.palatable.lambda.io.IO
Packages that use IO
Package
Description
-
Uses of IO in com.jnape.palatable.lambda.adt
Method parameters in com.jnape.palatable.lambda.adt with type arguments of type IO -
Uses of IO in com.jnape.palatable.lambda.functions
Subinterfaces with type arguments of type IO in com.jnape.palatable.lambda.functionsModifier and TypeInterfaceDescriptioninterfaceEffect<A>A function returning "no result", and therefore only useful as a side-effect.Methods in com.jnape.palatable.lambda.functions that return IOModifier and TypeMethodDescriptionInvoke this function explosively with the given argument.Effect.checkedApply(A a) Method parameters in com.jnape.palatable.lambda.functions with type arguments of type IO -
Uses of IO in com.jnape.palatable.lambda.functions.builtin.fn2
Classes in com.jnape.palatable.lambda.functions.builtin.fn2 that implement interfaces with type arguments of type IOModifier and TypeClassDescriptionfinal classAlter<A>final classAlter<A>final classAutoBracket<A extends AutoCloseable, B>Given anIOyielding someAutoCloseabletypeAand a kleisli arrow from that type to a newIOof typeB, attempt to provision theA, applying the body operation if provisioning was successful and ensuring thatAutoCloseable.close()is called regardless of whether the body succeeds or fails.final classAutoBracket<A extends AutoCloseable, B>Given anIOyielding someAutoCloseabletypeAand a kleisli arrow from that type to a newIOof typeB, attempt to provision theA, applying the body operation if provisioning was successful and ensuring thatAutoCloseable.close()is called regardless of whether the body succeeds or fails.final classAutoBracket<A extends AutoCloseable, B>Given anIOyielding someAutoCloseabletypeAand a kleisli arrow from that type to a newIOof typeB, attempt to provision theA, applying the body operation if provisioning was successful and ensuring thatAutoCloseable.close()is called regardless of whether the body succeeds or fails.final classfinal classPeek2<A, B, FAB extends BoundedBifunctor<A, B, ? super A, ? super B, ?>>Deprecated.in favor of producing anIOfrom the givenBoundedBifunctorand explicitly running itfinal classPeek2<A, B, FAB extends BoundedBifunctor<A, B, ? super A, ? super B, ?>>Deprecated.in favor of producing anIOfrom the givenBoundedBifunctorand explicitly running itfinal classUntil<A>Given apredicate functionfor a value of some typeAand anIOthat yields a value of typeA, produce anIOthat repeatedly executes the originalIOuntil the predicate returns true when applied to the yielded value.final classUntil<A>Given apredicate functionfor a value of some typeAand anIOthat yields a value of typeA, produce anIOthat repeatedly executes the originalIOuntil the predicate returns true when applied to the yielded value.Methods in com.jnape.palatable.lambda.functions.builtin.fn2 that return IOModifier and TypeMethodDescriptionstatic <A> IO<A> static <A extends AutoCloseable, B>
IO<B> AutoBracket.autoBracket(IO<A> io, Fn1<? super A, ? extends IO<B>> bodyIO) Alter.checkedApply(Fn1<? super A, ? extends IO<?>> effect, A a) static <A> IO<A> Methods in com.jnape.palatable.lambda.functions.builtin.fn2 that return types with arguments of type IOModifier and TypeMethodDescriptionstatic <A extends AutoCloseable, B>
Fn1<Fn1<? super A, ? extends IO<B>>, IO<B>> AutoBracket.autoBracket(IO<A> io) static <A extends AutoCloseable, B>
Fn1<Fn1<? super A, ? extends IO<B>>, IO<B>> AutoBracket.autoBracket(IO<A> io) static <A, B, FAB extends BoundedBifunctor<A, B, ? super A, ? super B, ?>>
Fn2<Fn1<? super B, ? extends IO<?>>, FAB, FAB> Deprecated.Methods in com.jnape.palatable.lambda.functions.builtin.fn2 with parameters of type IOModifier and TypeMethodDescriptionstatic <A extends AutoCloseable, B>
Fn1<Fn1<? super A, ? extends IO<B>>, IO<B>> AutoBracket.autoBracket(IO<A> io) static <A extends AutoCloseable, B>
IO<B> AutoBracket.autoBracket(IO<A> io, Fn1<? super A, ? extends IO<B>> bodyIO) static <A> IO<A> Method parameters in com.jnape.palatable.lambda.functions.builtin.fn2 with type arguments of type IOModifier and TypeMethodDescriptionstatic <A extends AutoCloseable, B>
IO<B> AutoBracket.autoBracket(IO<A> io, Fn1<? super A, ? extends IO<B>> bodyIO) Alter.checkedApply(Fn1<? super A, ? extends IO<?>> effect, A a) Peek.checkedApply(Fn1<? super A, ? extends IO<?>> effect, FA fa) Deprecated.Peek2.checkedApply(Fn1<? super A, ? extends IO<?>> effectA, Fn1<? super B, ? extends IO<?>> effectB, FAB fab) Deprecated.Deprecated.static <A, FA extends Functor<A,?>>
FADeprecated.static <A, B, FAB extends BoundedBifunctor<A, B, ? super A, ? super B, ?>>
Fn2<Fn1<? super B, ? extends IO<?>>, FAB, FAB> Deprecated.static <A, B, FAB extends BoundedBifunctor<A, B, ? super A, ? super B, ?>>
Fn1<FAB, FAB> Deprecated.static <A, B, FAB extends BoundedBifunctor<A, B, ? super A, ? super B, ?>>
FABPeek2.peek2(Fn1<? super A, ? extends IO<?>> effectA, Fn1<? super B, ? extends IO<?>> effectB, FAB fab) Deprecated. -
Uses of IO in com.jnape.palatable.lambda.functions.builtin.fn3
Classes in com.jnape.palatable.lambda.functions.builtin.fn3 that implement interfaces with type arguments of type IOModifier and TypeClassDescriptionfinal classBracket<A,B> Given anIOthat yields some typeA, a cleanup operation to run if a value of that type could be provisioned, and a kleisli arrow from that type to a newIOof typeB, produce anthat, when run, will provision theIO<B>A,flatMapit toB, and clean up the original value if it was produced in the first place.final classBracket<A,B> Given anIOthat yields some typeA, a cleanup operation to run if a value of that type could be provisioned, and a kleisli arrow from that type to a newIOof typeB, produce anthat, when run, will provision theIO<B>A,flatMapit toB, and clean up the original value if it was produced in the first place.final classBracket<A,B> Given anIOthat yields some typeA, a cleanup operation to run if a value of that type could be provisioned, and a kleisli arrow from that type to a newIOof typeB, produce anthat, when run, will provision theIO<B>A,flatMapit toB, and clean up the original value if it was produced in the first place.final classBracket<A,B> Given anIOthat yields some typeA, a cleanup operation to run if a value of that type could be provisioned, and a kleisli arrow from that type to a newIOof typeB, produce anthat, when run, will provision theIO<B>A,flatMapit toB, and clean up the original value if it was produced in the first place.Methods in com.jnape.palatable.lambda.functions.builtin.fn3 that return IOModifier and TypeMethodDescriptionstatic <A,B> IO <B> Bracket.bracket(IO<A> io, Fn1<? super A, ? extends IO<?>> cleanupIO, Fn1<? super A, ? extends IO<B>> bodyIO) Bracket.checkedApply(IO<A> io, Fn1<? super A, ? extends IO<?>> cleanupIO, Fn1<? super A, ? extends IO<B>> bodyIO) Methods in com.jnape.palatable.lambda.functions.builtin.fn3 that return types with arguments of type IOModifier and TypeMethodDescriptionMethods in com.jnape.palatable.lambda.functions.builtin.fn3 with parameters of type IOModifier and TypeMethodDescriptionstatic <A,B> IO <B> Bracket.bracket(IO<A> io, Fn1<? super A, ? extends IO<?>> cleanupIO, Fn1<? super A, ? extends IO<B>> bodyIO) Bracket.checkedApply(IO<A> io, Fn1<? super A, ? extends IO<?>> cleanupIO, Fn1<? super A, ? extends IO<B>> bodyIO) Method parameters in com.jnape.palatable.lambda.functions.builtin.fn3 with type arguments of type IO -
Uses of IO in com.jnape.palatable.lambda.io
Subclasses of IO in com.jnape.palatable.lambda.ioClasses in com.jnape.palatable.lambda.io that implement interfaces with type arguments of type IOModifier and TypeClassDescriptionclassIO<A>AMonadrepresenting some side-effecting computation to be performed.classIO<A>AMonadrepresenting some side-effecting computation to be performed.Fields in com.jnape.palatable.lambda.io declared as IOFields in com.jnape.palatable.lambda.io with type parameters of type IOMethods in com.jnape.palatable.lambda.io that return IOModifier and TypeMethodDescriptionfinal <B> IO<B> IO.discardL(Applicative<B, IO<?>> appB) Sequence both thisApplicativeandappB, discarding thisApplicative'sresult and returningappB.IO.discardR(Applicative<B, IO<?>> appB) Sequence both thisApplicativeandappB, discardingappB'sresult and returning thisApplicative.IO.exceptionally(Fn1<? super Throwable, ? extends A> recoveryFn) Deprecated.in favor of canonicalIO.catchError(Fn1)static <A> IO<A> IO.externallyManaged(Fn0<CompletableFuture<A>> supplier) Static factory method for creating anIOfrom an externally managed source ofcompletable futures.final <B> IO<B> Chain dependent computations that may continue or short-circuit based on previous results.final <B> IO<B> Covariantly transmute this functor's parameter using the given mapping function.static <A> IO<A> Fuse all fork opportunities of a givenIOsuch that, unless it ispinned(or is originallyexternally managed), no parallelism will be used when running it, regardless of what semantics are used when it is executed.static <A> IO<A> IO.interruptible(IO<A> io) static <A> IO<A> IO.io(A a) Static factory method for creating anIOthat just returnsawhen performed.static <A> IO<A> Static factory method for coercing a lambda to anIO.IO.io(SideEffect sideEffect) static <A> IO<A> static <A> IO<A> IO.monitorSync(Object lock, IO<A> io) Synchronize the givenIOusing the provided lock object.static <A> IO<A> final <B> IO<B> IO.pure(B b) Lift the valuebinto this applicative functor.IO.safe()IO.throwError(Throwable throwable) Throw an error value of typeEinto themonad.static <A> IO<A> <B> IO<B> IO.trampolineM(Fn1<? super A, ? extends MonadRec<RecursiveResult<A, B>, IO<?>>> fn) Given some operation yielding aRecursiveResultinside thisMonadRec, internally trampoline the operation until it yields aterminationinstruction.final <B> IO<B> IO.zip(Applicative<Fn1<? super A, ? extends B>, IO<?>> appFn) Given another instance of this applicative over a mapping function, "zip" the two instances together using whatever application semantics the current applicative supports.Methods in com.jnape.palatable.lambda.io that return types with arguments of type IOModifier and TypeMethodDescriptionGiven alazyinstance of this applicative over a mapping function, "zip" the two instances together using whatever application semantics the current applicative supports.IO.pureIO()Methods in com.jnape.palatable.lambda.io with parameters of type IOModifier and TypeMethodDescriptionstatic <A> IO<A> Fuse all fork opportunities of a givenIOsuch that, unless it ispinned(or is originallyexternally managed), no parallelism will be used when running it, regardless of what semantics are used when it is executed.static <A> IO<A> IO.interruptible(IO<A> io) static <A> IO<A> static <A> IO<A> IO.monitorSync(Object lock, IO<A> io) Synchronize the givenIOusing the provided lock object.static <A> IO<A> Method parameters in com.jnape.palatable.lambda.io with type arguments of type IOModifier and TypeMethodDescriptionfinal <B> IO<B> IO.discardL(Applicative<B, IO<?>> appB) Sequence both thisApplicativeandappB, discarding thisApplicative'sresult and returningappB.IO.discardR(Applicative<B, IO<?>> appB) Sequence both thisApplicativeandappB, discardingappB'sresult and returning thisApplicative.final <B> IO<B> Chain dependent computations that may continue or short-circuit based on previous results.Given alazyinstance of this applicative over a mapping function, "zip" the two instances together using whatever application semantics the current applicative supports.<B> IO<B> IO.trampolineM(Fn1<? super A, ? extends MonadRec<RecursiveResult<A, B>, IO<?>>> fn) Given some operation yielding aRecursiveResultinside thisMonadRec, internally trampoline the operation until it yields aterminationinstruction.final <B> IO<B> IO.zip(Applicative<Fn1<? super A, ? extends B>, IO<?>> appFn) Given another instance of this applicative over a mapping function, "zip" the two instances together using whatever application semantics the current applicative supports.Constructors in com.jnape.palatable.lambda.io with parameters of type IOModifierConstructorDescriptionprivateConstructor parameters in com.jnape.palatable.lambda.io with type arguments of type IO -
Uses of IO in com.jnape.palatable.lambda.monad.transformer.builtin
Methods in com.jnape.palatable.lambda.monad.transformer.builtin that return types with arguments of type IO -
Uses of IO in com.jnape.palatable.lambda.monoid.builtin
Classes in com.jnape.palatable.lambda.monoid.builtin that implement interfaces with type arguments of type IOMethods in com.jnape.palatable.lambda.monoid.builtin that return IOMethods in com.jnape.palatable.lambda.monoid.builtin that return types with arguments of type IOMethods in com.jnape.palatable.lambda.monoid.builtin with parameters of type IO -
Uses of IO in com.jnape.palatable.lambda.semigroup.builtin
Classes in com.jnape.palatable.lambda.semigroup.builtin that implement interfaces with type arguments of type IOMethods in com.jnape.palatable.lambda.semigroup.builtin that return IOMethods in com.jnape.palatable.lambda.semigroup.builtin that return types with arguments of type IOMethods in com.jnape.palatable.lambda.semigroup.builtin with parameters of type IO
matchinginto anIOand explicitly running it