curry method

Output Function(Input2) curry(
  1. Input1 input1
)

Convert this function from accepting two parameters to a function that returns another function both accepting one parameter.

Inverse of uncurry.

Implementation

Output Function(Input2) curry(Input1 input1) =>
    (input2) => this(input1, input2);