Uses of Class
com.jnape.palatable.lambda.adt.Unit
Packages that use Unit
Package
Description
-
Uses of Unit in com.jnape.palatable.lambda.adt
Fields in com.jnape.palatable.lambda.adt declared as UnitMethods in com.jnape.palatable.lambda.adt that return types with arguments of type UnitModifier and TypeMethodDescriptionMaybe.diverge()
Diverge this coproduct by introducing another possible type that it could represent.Maybe.invert()
Swap the type parameters.Maybe.project()
Project this coproduct onto a product, such that the index in the product that corresponds to this coproduct's value is present, while the other indices are absent.Either.trying
(SideEffect sideEffect) Attempt to execute theSideEffect
, returningUnit
in a right value.Either.trying
(SideEffect sideEffect, Fn1<? super Throwable, ? extends L> leftFn) Attempt to execute theSideEffect
, returningUnit
in a right value.Try.trying
(SideEffect sideEffect) Methods in com.jnape.palatable.lambda.adt with parameters of type UnitModifier and TypeMethodDescriptionMaybe.throwError
(Unit unit) Throw an error value of typeE
into themonad
.Method parameters in com.jnape.palatable.lambda.adt with type arguments of type UnitModifier and TypeMethodDescription<R> R
<R> R
-
Uses of Unit in com.jnape.palatable.lambda.functions
Methods in com.jnape.palatable.lambda.functions that return types with arguments of type UnitModifier and TypeMethodDescriptionInvoke this function explosively with the given argument.Effect.checkedApply
(A a) Methods in com.jnape.palatable.lambda.functions with parameters of type UnitModifier and TypeMethodDescriptiondefault A
Fn0.checkedApply
(Unit unit) Invoke this function with the given argument, potentially throwing anyThrowable
.Method parameters in com.jnape.palatable.lambda.functions with type arguments of type Unit -
Uses of Unit in com.jnape.palatable.lambda.functor.builtin
Methods in com.jnape.palatable.lambda.functor.builtin that return types with arguments of type Unit -
Uses of Unit in com.jnape.palatable.lambda.io
Methods in com.jnape.palatable.lambda.io that return types with arguments of type Unit -
Uses of Unit in com.jnape.palatable.lambda.monad.transformer.builtin
Methods in com.jnape.palatable.lambda.monad.transformer.builtin with type parameters of type UnitModifier and TypeMethodDescriptionMethods in com.jnape.palatable.lambda.monad.transformer.builtin that return types with arguments of type UnitMethods in com.jnape.palatable.lambda.monad.transformer.builtin with parameters of type UnitModifier and TypeMethodDescriptionMaybeT.throwError
(Unit unit) Throw an error value of typeE
into themonad
.Method parameters in com.jnape.palatable.lambda.monad.transformer.builtin with type arguments of type UnitModifier and TypeMethodDescription -
Uses of Unit in com.jnape.palatable.lambda.monoid.builtin
Methods in com.jnape.palatable.lambda.monoid.builtin that return UnitModifier and TypeMethodDescriptionTrivial.checkedApply
(Unit x, Unit y) Trivial.identity()
static Unit
Methods in com.jnape.palatable.lambda.monoid.builtin that return types with arguments of type UnitModifier and TypeMethodDescriptionMethods in com.jnape.palatable.lambda.monoid.builtin with parameters of type Unit -
Uses of Unit in com.jnape.palatable.lambda.optics.prisms
Methods in com.jnape.palatable.lambda.optics.prisms that return types with arguments of type Unit