uncurry4<A, B, C, D, E> function

E Function(A a, B b, C c, D d) uncurry4<A, B, C, D, E>(
  1. E Function(D d) Function(C c) Function(B b) function(
    1. A a
    )
)

Converts a series of unary functions into a 4 parameters function.

Implementation

E Function(A a, B b, C c, D d) uncurry4<A, B, C, D, E>(
    E Function(D d) Function(C c) Function(B b) Function(A a) function) {
  return (A a, B b, C c, D d) => function(a)(b)(c)(d);
}