Static methods

staticcurry<A, B, C, D, E, F, Z>(f:(A, B, C, D, E, F) ‑> Z):A ‑> B ‑> C ‑> D ‑> E ‑> F ‑> Z

Convert 1 function of 6 arguments into 6 functions of 1 argument

((a, b, c, d, e, f) -> a + b + c + d + e + f).curry() == a -> b -> c -> d -> e -> f-> a + b + c + d + e + f;

staticuncurry<A, B, C, D, E, F, Z>(fn:A ‑> B ‑> C ‑> D ‑> E ‑> F ‑> Z):(A, B, C, D, E, F) ‑> Z

Convert 6 functions of 1 argument into 1 function of 6 arguments

(a -> b -> c -> d -> e -> f -> a + b + c + d + e + f).uncurry() == (a, b, c, d, e, f) -> a + b + c + d + e + f;