Interface BiSemigroupFactory<A,B,C>
-
- All Superinterfaces:
Applicative<Fn1<B,Fn1<C,Fn1<C,C>>>,Fn1<A,?>>
,Cartesian<A,Fn1<B,Fn1<C,Fn1<C,C>>>,Fn1<?,?>>
,Cocartesian<A,Fn1<B,Fn1<C,Fn1<C,C>>>,Fn1<?,?>>
,Contravariant<A,Profunctor<?,Fn1<B,Fn1<C,Fn1<C,C>>>,Fn1<?,?>>>
,Fn1<A,Fn1<B,Fn1<C,Fn1<C,C>>>>
,Fn2<A,B,Fn1<C,Fn1<C,C>>>
,Fn3<A,B,C,Fn1<C,C>>
,Fn4<A,B,C,C,C>
,Functor<Fn1<B,Fn1<C,Fn1<C,C>>>,Fn1<A,?>>
,Monad<Fn1<B,Fn1<C,Fn1<C,C>>>,Fn1<A,?>>
,MonadReader<A,Fn1<B,Fn1<C,Fn1<C,C>>>,Fn1<A,?>>
,MonadRec<Fn1<B,Fn1<C,Fn1<C,C>>>,Fn1<A,?>>
,MonadWriter<A,Fn1<B,Fn1<C,Fn1<C,C>>>,Fn1<A,?>>
,Profunctor<A,Fn1<B,Fn1<C,Fn1<C,C>>>,Fn1<?,?>>
- All Known Subinterfaces:
BiMonoidFactory<A,B,C>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface BiSemigroupFactory<A,B,C> extends Fn4<A,B,C,C,C>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SemigroupFactory<B,C>
apply(A a)
Partially apply this function by taking its first argument.default Semigroup<C>
apply(A a, B b)
Partially apply this function by taking its first two arguments.Semigroup<C>
checkedApply(A a, B b)
default C
checkedApply(A a, B b, C c, C d)
default BiSemigroupFactory<B,A,C>
flip()
Flip the order of the first two arguments.default SemigroupFactory<? super Product2<? extends A,? extends B>,C>
uncurry()
-
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
-
-
-
-
Method Detail
-
checkedApply
Semigroup<C> checkedApply(A a, B b) throws java.lang.Throwable
Description copied from interface:Fn3
-
apply
default Semigroup<C> apply(A a, B b)
Description copied from interface:Fn4
Partially apply this function by taking its first two arguments.
-
apply
default SemigroupFactory<B,C> apply(A a)
Description copied from interface:Fn4
Partially apply this function by taking its first argument.
-
flip
default BiSemigroupFactory<B,A,C> flip()
Description copied from interface:Fn4
Flip the order of the first two arguments.
-
-