flip

flip f takes its (first) two arguments in the reverse order of f.
>>> flip (++) "hello" "world"
"worldhello"
flip f takes its (first) two arguments in the reverse order of f.
flip f takes its (first) two arguments in the reverse order of f.
>>> flip (++) "hello" "world"
"worldhello"
flip the order of the first two arguments of a function.
Strict variant of flip. Defined as:
flip f b a = f $! a $! b
Since version 0.11.0.0.
Make a Bifunctor flipping the arguments of a Bifunctor.
Convert a FunctorB into a FunctorT and vice-versa.
Flip forward and backward passes of an underlying grammar.
The isomorphism for flipping a function.
>>> ((,)^.flipped) 1 2
(2,1)
Flips an association list. Converts (key1, val), (key2, val) pairs to (val, [key1, key2]).