Class Peek2<A,B,FAB extends BoundedBifunctor<A,B,? super A,? super B,?>>
- java.lang.Object
-
- com.jnape.palatable.lambda.functions.builtin.fn2.Peek2<A,B,FAB>
-
- Type Parameters:
A
- the bifunctor's first parameter typeB
- the bifunctor's second parameter typeFAB
- the bifunctor type
- All Implemented Interfaces:
Fn1<Fn1<? super A,? extends IO<?>>,Fn1<Fn1<? super B,? extends IO<?>>,Fn1<FAB,FAB>>>
,Fn2<Fn1<? super A,? extends IO<?>>,Fn1<? super B,? extends IO<?>>,Fn1<FAB,FAB>>
,Fn3<Fn1<? super A,? extends IO<?>>,Fn1<? super B,? extends IO<?>>,FAB,FAB>
,Applicative<Fn1<Fn1<? super B,? extends IO<?>>,Fn1<FAB,FAB>>,Fn1<Fn1<? super A,? extends IO<?>>,?>>
,Cartesian<Fn1<? super A,? extends IO<?>>,Fn1<Fn1<? super B,? extends IO<?>>,Fn1<FAB,FAB>>,Fn1<?,?>>
,Cocartesian<Fn1<? super A,? extends IO<?>>,Fn1<Fn1<? super B,? extends IO<?>>,Fn1<FAB,FAB>>,Fn1<?,?>>
,Contravariant<Fn1<? super A,? extends IO<?>>,Profunctor<?,Fn1<Fn1<? super B,? extends IO<?>>,Fn1<FAB,FAB>>,Fn1<?,?>>>
,Functor<Fn1<Fn1<? super B,? extends IO<?>>,Fn1<FAB,FAB>>,Fn1<Fn1<? super A,? extends IO<?>>,?>>
,Profunctor<Fn1<? super A,? extends IO<?>>,Fn1<Fn1<? super B,? extends IO<?>>,Fn1<FAB,FAB>>,Fn1<?,?>>
,Monad<Fn1<Fn1<? super B,? extends IO<?>>,Fn1<FAB,FAB>>,Fn1<Fn1<? super A,? extends IO<?>>,?>>
,MonadReader<Fn1<? super A,? extends IO<?>>,Fn1<Fn1<? super B,? extends IO<?>>,Fn1<FAB,FAB>>,Fn1<Fn1<? super A,? extends IO<?>>,?>>
,MonadRec<Fn1<Fn1<? super B,? extends IO<?>>,Fn1<FAB,FAB>>,Fn1<Fn1<? super A,? extends IO<?>>,?>>
,MonadWriter<Fn1<? super A,? extends IO<?>>,Fn1<Fn1<? super B,? extends IO<?>>,Fn1<FAB,FAB>>,Fn1<Fn1<? super A,? extends IO<?>>,?>>
@Deprecated public final class Peek2<A,B,FAB extends BoundedBifunctor<A,B,? super A,? super B,?>> extends java.lang.Object implements Fn3<Fn1<? super A,? extends IO<?>>,Fn1<? super B,? extends IO<?>>,FAB,FAB>
Deprecated.in favor of producing anIO
from the givenBoundedBifunctor
and explicitly running itGiven twoEffect
s, "peek" at the values contained inside aBifunctor
viaBoundedBifunctor.biMap(Fn1, Fn1)
, applying theEffect
s to the contained values, if there are any.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Peek2()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FAB
checkedApply(Fn1<? super A,? extends IO<?>> effectA, Fn1<? super B,? extends IO<?>> effectB, FAB fab)
Deprecated.static <A,B,FAB extends BoundedBifunctor<A,B,? super A,? super B,?>>
Peek2<A,B,FAB>peek2()
Deprecated.static <A,B,FAB extends BoundedBifunctor<A,B,? super A,? super B,?>>
Fn2<Fn1<? super B,? extends IO<?>>,FAB,FAB>peek2(Fn1<? super A,? extends IO<?>> effectA)
Deprecated.static <A,B,FAB extends BoundedBifunctor<A,B,? super A,? super B,?>>
Fn1<FAB,FAB>peek2(Fn1<? super A,? extends IO<?>> effectA, Fn1<? super B,? extends IO<?>> effectB)
Deprecated.static <A,B,FAB extends BoundedBifunctor<A,B,? super A,? super B,?>>
FABpeek2(Fn1<? super A,? extends IO<?>> effectA, Fn1<? super B,? extends IO<?>> effectB, FAB fab)
Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.jnape.palatable.lambda.functions.Fn1
andThen, carry, cartesian, censor, choose, cocartesian, diMap, diMapR, discardL, flatMap, fmap, lazyZip, listens, local, pure, self, thunk, toFunction, trampolineM, zip, zip
-
Methods inherited from interface com.jnape.palatable.lambda.functions.Fn2
checkedApply, toBiFunction
-
-
-
-
Field Detail
-
INSTANCE
private static final Peek2<?,?,?> INSTANCE
Deprecated.
-
-
Method Detail
-
checkedApply
public FAB checkedApply(Fn1<? super A,? extends IO<?>> effectA, Fn1<? super B,? extends IO<?>> effectB, FAB fab)
Deprecated.
-
peek2
public static <A,B,FAB extends BoundedBifunctor<A,B,? super A,? super B,?>> Peek2<A,B,FAB> peek2()
Deprecated.
-
peek2
public static <A,B,FAB extends BoundedBifunctor<A,B,? super A,? super B,?>> Fn2<Fn1<? super B,? extends IO<?>>,FAB,FAB> peek2(Fn1<? super A,? extends IO<?>> effectA)
Deprecated.
-
peek2
public static <A,B,FAB extends BoundedBifunctor<A,B,? super A,? super B,?>> Fn1<FAB,FAB> peek2(Fn1<? super A,? extends IO<?>> effectA, Fn1<? super B,? extends IO<?>> effectB)
Deprecated.
-
peek2
public static <A,B,FAB extends BoundedBifunctor<A,B,? super A,? super B,?>> FAB peek2(Fn1<? super A,? extends IO<?>> effectA, Fn1<? super B,? extends IO<?>> effectB, FAB fab)
Deprecated.
-
-