Uses of Class
com.jnape.palatable.lambda.adt.choice.Choice3
Packages that use Choice3
-
Uses of Choice3 in com.jnape.palatable.lambda.adt
Methods in com.jnape.palatable.lambda.adt that return Choice3 -
Uses of Choice3 in com.jnape.palatable.lambda.adt.choice
Subclasses of Choice3 in com.jnape.palatable.lambda.adt.choiceModifier and TypeClassDescriptionprivate static final classChoice3._A<A,B, C> private static final classChoice3._B<A,B, C> private static final classChoice3._C<A,B, C> Classes in com.jnape.palatable.lambda.adt.choice that implement interfaces with type arguments of type Choice3Modifier and TypeClassDescriptionclassChoice3<A,B, C> Canonical ADT representation ofCoProduct3.classChoice3<A,B, C> Canonical ADT representation ofCoProduct3.classChoice3<A,B, C> Canonical ADT representation ofCoProduct3.classChoice3<A,B, C> Canonical ADT representation ofCoProduct3.Methods in com.jnape.palatable.lambda.adt.choice with type parameters of type Choice3Modifier and TypeMethodDescription<D, App extends Applicative<?,App>, TravB extends Traversable<D, Choice3<A, B, ?>>, AppTrav extends Applicative<TravB, App>>
AppTravChoice3.traverse(Fn1<? super C, ? extends Applicative<D, App>> fn, Fn1<? super TravB, ? extends AppTrav> pure) Applyfnto each element of this traversable from left to right, and collapse the results into a single resulting applicative, potentially with the assistance of the applicative's pure function.Methods in com.jnape.palatable.lambda.adt.choice that return Choice3Modifier and TypeMethodDescriptionstatic <A,B, C> Choice3 <A, B, C> Choice3.a(A a) Static factory method for wrapping a value of typeAin aChoice3.static <A,B, C> Choice3 <A, B, C> Choice3.b(B b) Static factory method for wrapping a value of typeAin aChoice3.Dually map covariantly over both the left and right parameters.Covariantly map over the left parameter.Covariantly map over the right parameter.static <A,B, C> Choice3 <A, B, C> Choice3.c(C c) Static factory method for wrapping a value of typeAin aChoice3.Converge this coproduct down to a lower order coproduct by mapping the last possible type into an earlier possible type.Choice3.discardL(Applicative<D, Choice3<A, B, ?>> appB) Sequence both thisApplicativeandappB, discarding thisApplicative'sresult and returningappB.Choice3.discardR(Applicative<D, Choice3<A, B, ?>> appB) Sequence both thisApplicativeandappB, discardingappB'sresult and returning thisApplicative.Choice2.diverge()Diverge this coproduct by introducing another possible type that it could represent.Chain dependent computations that may continue or short-circuit based on previous results.Covariantly transmute this functor's parameter using the given mapping function.Choice3.pure(D d) Lift the valuebinto this applicative functor.Choice3.trampolineM(Fn1<? super C, ? extends MonadRec<RecursiveResult<C, D>, Choice3<A, B, ?>>> fn) Given some operation yielding aRecursiveResultinside thisMonadRec, internally trampoline the operation until it yields aterminationinstruction.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.adt.choice that return types with arguments of type Choice3Modifier and TypeMethodDescriptionGiven alazyinstance of this applicative over a mapping function, "zip" the two instances together using whatever application semantics the current applicative supports.Choice3.pureChoice()Method parameters in com.jnape.palatable.lambda.adt.choice with type arguments of type Choice3Modifier and TypeMethodDescriptionChoice3.discardL(Applicative<D, Choice3<A, B, ?>> appB) Sequence both thisApplicativeandappB, discarding thisApplicative'sresult and returningappB.Choice3.discardR(Applicative<D, Choice3<A, B, ?>> appB) Sequence both thisApplicativeandappB, discardingappB'sresult and returning thisApplicative.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.Choice3.trampolineM(Fn1<? super C, ? extends MonadRec<RecursiveResult<C, D>, Choice3<A, B, ?>>> fn) Given some operation yielding aRecursiveResultinside thisMonadRec, internally trampoline the operation until it yields aterminationinstruction.Given another instance of this applicative over a mapping function, "zip" the two instances together using whatever application semantics the current applicative supports.