0
|
1 package fj;
|
|
2
|
|
3 import fj.data.Validation;
|
|
4 import fj.function.Try6;
|
|
5
|
|
6 /**
|
|
7 * Created by MarkPerry on 6/04/2014.
|
|
8 */
|
|
9 public class F6Functions {
|
|
10
|
|
11 /**
|
|
12 * Partial application.
|
|
13 *
|
|
14 * @param a The <code>A</code> to which to apply this function.
|
|
15 * @return The function partially applied to the given argument.
|
|
16 */
|
|
17 static public <A, B, C, D, E, F$, G> F5<B, C, D, E, F$, G> f(final F6<A, B, C, D, E, F$, G> func, final A a) {
|
|
18 return (b, c, d, e, f) -> func.f(a, b, c, d, e, f);
|
|
19 }
|
|
20
|
|
21
|
|
22 }
|