RosettaCodeData/Task/First-class-functions/Dyalect/first-class-functions-4.dya...

4 lines
49 B
Plaintext

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