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 IOModifier and TypeMethodDescriptionDeprecated. -
Uses of IO in com.jnape.palatable.lambda.functions
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
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
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.ioFields 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 thisApplicative
andappB
, discarding thisApplicative's
result and returningappB
.IO.discardR
(Applicative<B, IO<?>> appB) Sequence both thisApplicative
andappB
, discardingappB's
result and returning thisApplicative
.IO.exceptionally
(Fn1<? super Throwable, ? extends A> recoveryFn) Deprecated.in favor of canonicalcatchError(Fn1)
static <A> IO
<A> IO.externallyManaged
(Fn0<CompletableFuture<A>> supplier) Static factory method for creating anIO
from 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 givenIO
such 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 anIO
that just returnsa
when 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 givenIO
using the provided lock object.static <A> IO
<A> final <B> IO
<B> IO.pure
(B b) Lift the valueb
into this applicative functor.IO.safe()
IO.throwError
(Throwable throwable) Throw an error value of typeE
into themonad
.static <A> IO
<A> <B> IO
<B> IO.trampolineM
(Fn1<? super A, ? extends MonadRec<RecursiveResult<A, B>, IO<?>>> fn) Given some operation yielding aRecursiveResult
inside thisMonadRec
, internally trampoline the operation until it yields atermination
instruction.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 alazy
instance 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 givenIO
such 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 givenIO
using 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 thisApplicative
andappB
, discarding thisApplicative's
result and returningappB
.IO.discardR
(Applicative<B, IO<?>> appB) Sequence both thisApplicative
andappB
, discardingappB's
result and returning thisApplicative
.final <B> IO
<B> Chain dependent computations that may continue or short-circuit based on previous results.Given alazy
instance 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 aRecursiveResult
inside thisMonadRec
, internally trampoline the operation until it yields atermination
instruction.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 IOModifierConstructorDescriptionprivate
Constructor 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
Methods 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
Methods 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
matching
into anIO
and explicitly running it