Class RunAll<A>
- java.lang.Object
-
- com.jnape.palatable.lambda.monoid.builtin.RunAll<A>
-
- Type Parameters:
A- theIOresult
- All Implemented Interfaces:
Fn1<Monoid<A>,Fn1<IO<A>,Fn1<IO<A>,IO<A>>>>,Fn2<Monoid<A>,IO<A>,Fn1<IO<A>,IO<A>>>,Fn3<Monoid<A>,IO<A>,IO<A>,IO<A>>,MonoidFactory<Monoid<A>,IO<A>>,SemigroupFactory<Monoid<A>,IO<A>>,Applicative<Fn1<IO<A>,Fn1<IO<A>,IO<A>>>,Fn1<Monoid<A>,?>>,Cartesian<Monoid<A>,Fn1<IO<A>,Fn1<IO<A>,IO<A>>>,Fn1<?,?>>,Cocartesian<Monoid<A>,Fn1<IO<A>,Fn1<IO<A>,IO<A>>>,Fn1<?,?>>,Contravariant<Monoid<A>,Profunctor<?,Fn1<IO<A>,Fn1<IO<A>,IO<A>>>,Fn1<?,?>>>,Functor<Fn1<IO<A>,Fn1<IO<A>,IO<A>>>,Fn1<Monoid<A>,?>>,Profunctor<Monoid<A>,Fn1<IO<A>,Fn1<IO<A>,IO<A>>>,Fn1<?,?>>,Monad<Fn1<IO<A>,Fn1<IO<A>,IO<A>>>,Fn1<Monoid<A>,?>>,MonadReader<Monoid<A>,Fn1<IO<A>,Fn1<IO<A>,IO<A>>>,Fn1<Monoid<A>,?>>,MonadRec<Fn1<IO<A>,Fn1<IO<A>,IO<A>>>,Fn1<Monoid<A>,?>>,MonadWriter<Monoid<A>,Fn1<IO<A>,Fn1<IO<A>,IO<A>>>,Fn1<Monoid<A>,?>>
public final class RunAll<A> extends java.lang.Object implements MonoidFactory<Monoid<A>,IO<A>>
- See Also:
RunAll
-
-
Constructor Summary
Constructors Modifier Constructor Description privateRunAll()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Monoid<IO<A>>checkedApply(Monoid<A> monoid)Invoke this function with the given argument, potentially throwing anyThrowable.static <A> RunAll<A>runAll()static <A> Monoid<IO<A>>runAll(Monoid<A> monoid)static <A> Fn1<IO<A>,IO<A>>runAll(Monoid<A> monoid, IO<A> x)static <A> IO<A>runAll(Monoid<A> monoid, IO<A> x, IO<A> y)-
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
toBiFunction
-
Methods inherited from interface com.jnape.palatable.lambda.functions.Fn3
apply, checkedApply, compose, contraMap, diMapL, discardR, flip, uncurry, widen
-
Methods inherited from interface com.jnape.palatable.lambda.functions.specialized.MonoidFactory
apply, apply
-
Methods inherited from interface com.jnape.palatable.lambda.functions.specialized.SemigroupFactory
checkedApply
-
-
-
-
Field Detail
-
INSTANCE
private static final RunAll<?> INSTANCE
-
-
Method Detail
-
checkedApply
public Monoid<IO<A>> checkedApply(Monoid<A> monoid)
Description copied from interface:Fn2Invoke this function with the given argument, potentially throwing anyThrowable.- Specified by:
checkedApplyin interfaceFn1<Monoid<A>,Fn1<IO<A>,Fn1<IO<A>,IO<A>>>>- Specified by:
checkedApplyin interfaceFn2<Monoid<A>,IO<A>,Fn1<IO<A>,IO<A>>>- Specified by:
checkedApplyin interfaceMonoidFactory<Monoid<A>,IO<A>>- Specified by:
checkedApplyin interfaceSemigroupFactory<Monoid<A>,IO<A>>- Parameters:
monoid- the argument- Returns:
- the result of the function application
-
runAll
public static <A> RunAll<A> runAll()
-
-