curry method

CF8<B, C, D, E, F, G, H, I, T> curry(
  1. A a
)

Curries the function.

Transforms it into a higher order function that takes a single argument and returns another function that takes a single argument and returns another function, as many times as many there were arguments in the original function.

Handy for partial application.

Implementation

CF8<B, C, D, E, F, G, H, I, T> curry(A a) => (b) => (c) =>
    (d) => (e) => (f) => (g) => (h) => (i) => this(a, b, c, d, e, f, g, h, i);