func flip(fun, x, y) { (y, x) => fun(x, y) }