Uses of Interface
com.jnape.palatable.lambda.optics.Iso.Simple
-
Packages that use Iso.Simple Package Description com.jnape.palatable.lambda.adt.hmap com.jnape.palatable.lambda.optics com.jnape.palatable.lambda.optics.lenses -
-
Uses of Iso.Simple in com.jnape.palatable.lambda.adt.hmap
Subinterfaces of Iso.Simple in com.jnape.palatable.lambda.adt.hmap Modifier and Type Interface Description interface
TypeSafeKey<A,B>
An interface representing a parametrized key for use inHMap
s.static interface
TypeSafeKey.Simple<A>
Methods in com.jnape.palatable.lambda.adt.hmap with parameters of type Iso.Simple Modifier and Type Method Description default <C> TypeSafeKey<A,C>
TypeSafeKey. andThen(Iso.Simple<B,C> f)
Left-to-right composition of thisTypeSafeKey
with some otherIso
. -
Uses of Iso.Simple in com.jnape.palatable.lambda.optics
Methods in com.jnape.palatable.lambda.optics that return Iso.Simple Modifier and Type Method Description static <S,A>
Iso.Simple<S,A>Iso.Simple. adapt(Optic<? super Profunctor<?,?,?>,? super Functor<?,?>,S,S,A,A> optic)
Adapt anOptic
with the right variance to anIso.Simple
.default <B> Iso.Simple<S,B>
Iso.Simple. andThen(Iso.Simple<A,B> f)
Compose two simple isos from left to right.default <B> Iso.Simple<S,B>
Iso.Simple. andThen(Optic.Simple<? super Profunctor<?,?,?>,? super Functor<?,?>,A,B> f)
Compose two simple optics from left to right.default <R> Iso.Simple<R,A>
Iso.Simple. compose(Iso.Simple<R,S> g)
Compose two simple isos from right to left.default <R> Iso.Simple<R,A>
Iso.Simple. compose(Optic.Simple<? super Profunctor<?,?,?>,? super Functor<?,?>,R,S> g)
Compose two simple optics from right to left.default <U> Iso.Simple<S,A>
Iso.Simple. discardR(Applicative<U,Iso<S,?,A,A>> appB)
Sequence both thisApplicative
andappB
, discardingappB's
result and returning thisApplicative
.default Iso.Simple<A,S>
Iso.Simple. mirror()
Flip thisIso
around.static <S,A>
Iso.Simple<S,A>Iso. simpleIso(Fn1<? super S,? extends A> f, Fn1<? super A,? extends S> g)
Static factory method for creating a simpleIso
from a function and its inverse.Methods in com.jnape.palatable.lambda.optics with parameters of type Iso.Simple Modifier and Type Method Description default <B> Iso.Simple<S,B>
Iso.Simple. andThen(Iso.Simple<A,B> f)
Compose two simple isos from left to right.default <R> Iso.Simple<R,A>
Iso.Simple. compose(Iso.Simple<R,S> g)
Compose two simple isos from right to left. -
Uses of Iso.Simple in com.jnape.palatable.lambda.optics.lenses
Methods in com.jnape.palatable.lambda.optics.lenses that return Iso.Simple Modifier and Type Method Description static <A,B>
Iso.Simple<java.lang.Iterable<A>,java.lang.Iterable<B>>IterableLens. mapping(Iso<A,A,B,B> abIso)
An iso focusing on the mapped values of anIterable
.
-