Curry2X<A, B, T> extension
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.
- on
-
- F2<
A, B, T>
- F2<
Methods
-
curry(
A a) → T Function(B b) - Curries the function.