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