Flip the arguments of the `switch` function