Static methods

staticinlinecurry<A, B, Z>(fn:(A, B) ‑> Z):A ‑> B ‑> Z

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

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

staticinlineuncurry<A, B, Z>(fn:A ‑> B ‑> Z):(A, B) ‑> Z

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

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