fj.F7Functions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of functionaljava Show documentation
Show all versions of functionaljava Show documentation
Functional Java is an open source library that supports closures for the Java programming language
package fj;
import fj.data.Validation;
import fj.function.Try7;
/**
* Created by MarkPerry on 6/04/2014.
*/
public class F7Functions {
/**
* Partial application.
*
* @param a The A
to which to apply this function.
* @return The function partially applied to the given argument.
*/
static public F6 f(final F7 func, final A a) {
return (b, c, d, e, f, g) -> func.f(a, b, c, d, e, f, g);
}
}