- 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>
- All Known Implementing Classes:
Collapse, Collapse, Merge, Merge, MergeMaps
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Partially apply this function by taking its first argument.
Partially apply this function by taking its first two arguments.
Flip the order of the first two arguments.
Returns an
Fn3 that takes the first two arguments as a
Product2<A, B> and the
third and fourth arguments.
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.functor.Functor
coerce
-
Method Details
-
-
-
apply
Description copied from interface: Fn4
Partially apply this function by taking its first two arguments.
- Specified by:
apply in interface Fn2<A,B,C>
- Specified by:
apply in interface Fn3<A,B,C,Fn1<C,C>>
- Specified by:
apply in interface Fn4<A,B,C,C,C>
- Parameters:
a - the first argument
b - the second argument
- Returns:
- an
Fn2<C, D, E>
-
apply
Description copied from interface: Fn4
Partially apply this function by taking its first argument.
- Specified by:
apply in interface Fn1<A,B>
- Specified by:
apply in interface Fn2<A,B,C>
- Specified by:
apply in interface Fn3<A,B,C,Fn1<C,C>>
- Specified by:
apply in interface Fn4<A,B,C,C,C>
- Parameters:
a - the first argument
- Returns:
- an
Fn3<B, C, D, E>
-
flip
Description copied from interface: Fn4
Flip the order of the first two arguments.
- Specified by:
flip in interface Fn2<A,B,C>
- Specified by:
flip in interface Fn3<A,B,C,Fn1<C,C>>
- Specified by:
flip in interface Fn4<A,B,C,C,C>
- Returns:
- an
Fn4<B, A, C, D, E>
-
uncurry
Description copied from interface: Fn4
Returns an
Fn3 that takes the first two arguments as a
Product2<A, B> and the
third and fourth arguments.
- Specified by:
uncurry in interface Fn2<A,B,C>
- Specified by:
uncurry in interface Fn3<A,B,C,Fn1<C,C>>
- Specified by:
uncurry in interface Fn4<A,B,C,C,C>
- Returns:
- an
Fn3 taking a Product2 and the third and fourth arguments