Class Alter<A>
- java.lang.Object
-
- com.jnape.palatable.lambda.functions.builtin.fn2.Alter<A>
-
- Type Parameters:
A- the input and output
- All Implemented Interfaces:
Fn1<Fn1<? super A,? extends IO<?>>,Fn1<A,IO<A>>>,Fn2<Fn1<? super A,? extends IO<?>>,A,IO<A>>,Applicative<Fn1<A,IO<A>>,Fn1<Fn1<? super A,? extends IO<?>>,?>>,Cartesian<Fn1<? super A,? extends IO<?>>,Fn1<A,IO<A>>,Fn1<?,?>>,Cocartesian<Fn1<? super A,? extends IO<?>>,Fn1<A,IO<A>>,Fn1<?,?>>,Contravariant<Fn1<? super A,? extends IO<?>>,Profunctor<?,Fn1<A,IO<A>>,Fn1<?,?>>>,Functor<Fn1<A,IO<A>>,Fn1<Fn1<? super A,? extends IO<?>>,?>>,Profunctor<Fn1<? super A,? extends IO<?>>,Fn1<A,IO<A>>,Fn1<?,?>>,Monad<Fn1<A,IO<A>>,Fn1<Fn1<? super A,? extends IO<?>>,?>>,MonadReader<Fn1<? super A,? extends IO<?>>,Fn1<A,IO<A>>,Fn1<Fn1<? super A,? extends IO<?>>,?>>,MonadRec<Fn1<A,IO<A>>,Fn1<Fn1<? super A,? extends IO<?>>,?>>,MonadWriter<Fn1<? super A,? extends IO<?>>,Fn1<A,IO<A>>,Fn1<Fn1<? super A,? extends IO<?>>,?>>
public final class Alter<A> extends java.lang.Object implements Fn2<Fn1<? super A,? extends IO<?>>,A,IO<A>>
-
-
Constructor Summary
Constructors Modifier Constructor Description privateAlter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <A> Alter<A>alter()static <A> Fn1<A,IO<A>>alter(Effect<? super A> effect)static <A> IO<A>alter(Effect<? super A> effect, A a)IO<A>checkedApply(Fn1<? super A,? extends IO<?>> effect, A a)-
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
-
-