A
- the functor parameter typeFA
- the functor type@Deprecated public final class Peek<A,FA extends Functor<A,?>> extends Object implements Fn2<Fn1<? super A,? extends IO<?>>,FA,FA>
Effect
, "peek" at the value contained inside a Functor
via Functor.fmap(Fn1)
,
applying the Effect
to the contained value, if there is one.Modifier and Type | Method and Description |
---|---|
FA |
checkedApply(Fn1<? super A,? extends IO<?>> effect,
FA fa)
Deprecated.
|
static <A,FA extends Functor<A,?>> |
peek()
Deprecated.
|
static <A,FA extends Functor<A,?>> |
peek(Fn1<? super A,? extends IO<?>> effect)
Deprecated.
|
static <A,FA extends Functor<A,?>> |
peek(Fn1<? super A,? extends IO<?>> effect,
FA fa)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
apply, apply, checkedApply, compose, contraMap, curried, curry, diMapL, discardR, flip, fn2, fromBiFunction, toBiFunction, uncurry, widen