Static methods

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

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

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

staticuncurry<A, B, C, D, Z>(f:A ‑> B ‑> C ‑> D ‑> Z):(A, B, C, D) ‑> Z

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

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