Uses of Interface
com.jnape.palatable.lambda.optics.Iso
Packages that use Iso
Package
Description
-
Uses of Iso in com.jnape.palatable.lambda.adt.hmap
Subinterfaces of Iso in com.jnape.palatable.lambda.adt.hmapModifier and TypeInterfaceDescriptioninterfaceTypeSafeKey<A,B> An interface representing a parametrized key for use inHMaps.static interfaceMethod parameters in com.jnape.palatable.lambda.adt.hmap with type arguments of type Iso -
Uses of Iso in com.jnape.palatable.lambda.optics
Subinterfaces of Iso in com.jnape.palatable.lambda.opticsModifier and TypeInterfaceDescriptionstatic interfaceIso.Simple<S,A> A convenience type with a simplified type signature for common isos with both unified "larger" values and unified "smaller" values.Subinterfaces with type arguments of type Iso in com.jnape.palatable.lambda.opticsMethods in com.jnape.palatable.lambda.optics that return IsoModifier and TypeMethodDescriptionLeft-to-right composition of optics.Right-to-Left composition of optics.Contravariantly mapA <- B.Dually map contravariantly over the left parameter and covariantly over the right parameter.Contravariantly map over the left parameter.Covariantly map over the right parameter.Sequence both thisApplicativeandappB, discarding thisApplicative'sresult and returningappB.Sequence both thisApplicativeandappB, discardingappB'sresult and returning thisApplicative.Chain dependent computations that may continue or short-circuit based on previous results.Covariantly transmute this functor's parameter using the given mapping function.static <S,T, A, B> Iso <S, T, A, B> Static factory method for creating an iso from a function and it's inverse.static <S,T, A, B> Iso <S, T, A, B> Iso.iso(Optic<? super Profunctor<?, ?, ?>, ? super Functor<?, ?>, S, T, A, B> optic) Promote an optic with compatible bounds to anIso.Covariantly mapAtoC, yielding a new optic.Contravariantly mapBtoZ, yielding a new optic.Contravariantly mapStoR, yielding a new optic.Covariantly mapTtoU, yielding a new optic.Iso.mirror()Flip thisIsoaround.Iso.pure(U u) Lift the valuebinto this applicative functor.Iso.trampolineM(Fn1<? super T, ? extends MonadRec<RecursiveResult<T, U>, Iso<S, ?, 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.optics that return types with arguments of type IsoModifier and TypeMethodDescriptionMethod parameters in com.jnape.palatable.lambda.optics with type arguments of type IsoModifier and TypeMethodDescriptionSequence both thisApplicativeandappB, discarding thisApplicative'sresult and returningappB.Sequence both thisApplicativeandappB, discardingappB'sresult and returning thisApplicative.default <U> Iso.Simple<S, A> Sequence both thisApplicativeandappB, discardingappB'sresult and returning thisApplicative.Chain dependent computations that may continue or short-circuit based on previous results.Iso.trampolineM(Fn1<? super T, ? extends MonadRec<RecursiveResult<T, U>, Iso<S, ?, 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. -
Uses of Iso in com.jnape.palatable.lambda.optics.lenses
Methods in com.jnape.palatable.lambda.optics.lenses with parameters of type IsoModifier and TypeMethodDescriptionstatic <A,B> Iso.Simple <Iterable<A>, Iterable<B>> An iso focusing on the mapped values of anIterable.static <K,V, V2> Lens.Simple <Map<K, V>, Map<K, V2>> MapLens.mappingValues(Iso<V, V, V2, V2> iso) A lens that focuses on a map while mapping its values with the mappingIso.