Udon.flip = function(f) { return function(x) { if(arguments.length > 1) { return f(arguments[1])(x); } return function(y) { return f(y)(x); }; }; };
(a, b) -> c
Which it does:
curry :: ((a, b) -> c) -> a -> b -> c uncurry :: (a -> b -> c) -> (a, b) -> c