S
- the value to read fromT
- used for unification of the optic's
unused morphismA
- the result to maybe
read outB
- used for unification of the optic's
unused morphismpublic final class Pre<P extends Profunctor<?,?,? extends P>,S,T,A,B> extends Object implements Fn1<Optic<P,? super Const<Maybe<A>,?>,S,T,A,B>,Optic<P,Const<Maybe<A>,?>,S,T,Maybe<A>,B>>
Modifier and Type | Method and Description |
---|---|
Optic<P,Const<Maybe<A>,?>,S,T,Maybe<A>,B> |
checkedApply(Optic<P,? super Const<Maybe<A>,?>,S,T,A,B> optic)
Invoke this function with the given argument, potentially throwing any
Throwable . |
static <P extends Profunctor<?,?,? extends P>,S,T,A,B> |
pre() |
static <P extends Profunctor<?,?,? extends P>,S,T,A,B> |
pre(Optic<P,? super Const<Maybe<A>,?>,S,T,A,B> optic) |
static <P extends Profunctor<?,?,? extends P>,S,T,A,B> |
pre(ProtoOptic<P,S,T,A,B> protoOptic) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
andThen, apply, carry, cartesian, censor, choose, cocartesian, compose, contraMap, diMap, diMapL, diMapR, discardL, discardR, flatMap, fmap, fn1, fromFunction, lazyZip, listens, local, pure, pureFn1, thunk, toFunction, trampolineM, widen, zip, zip
public Optic<P,Const<Maybe<A>,?>,S,T,Maybe<A>,B> checkedApply(Optic<P,? super Const<Maybe<A>,?>,S,T,A,B> optic)
Fn1
Throwable
.public static <P extends Profunctor<?,?,? extends P>,S,T,A,B> Pre<P,S,T,A,B> pre()
public static <P extends Profunctor<?,?,? extends P>,S,T,A,B> Optic<P,Const<Maybe<A>,?>,S,T,Maybe<A>,B> pre(Optic<P,? super Const<Maybe<A>,?>,S,T,A,B> optic)
public static <P extends Profunctor<?,?,? extends P>,S,T,A,B> Optic<P,Const<Maybe<A>,?>,S,T,Maybe<A>,B> pre(ProtoOptic<P,S,T,A,B> protoOptic)