flip package:copilot-language

flip f takes its (first) two arguments in the reverse order of f.
flip f x y = f y x
flip . flip = id

Examples

>>> flip (++) "hello" "world"
"worldhello"
>>> let (.>) = flip (.) in (+1) .> show $ 5
"6"