swap package:xmonad-contrib

Swap current window with the window in the given direction. Note: doesn't work with floating windows (don't think it makes much sense to swap floating windows).
Message for swapping the left child of a split with the right child of split
Swap current screen with next screen
Swap current screen with previous screen
Swap the two given workspaces in the dynamic order.
Swap the current workspace with another workspace in the stored dynamic order.
Swap the given workspace with the current one.
Swap current window with nth. Focus stays in the same position
Apply the given master history stack modifier to the current stack. If given True, all non-focused floating windows will be ignored. Return True if insufficient history; if so use whenX to sequence a backup promotion function.
Wrap swapHybridStack; see also swapApply.
Like swapHybrid' but discard the result.
If the focused window is the master window, use swapInStack. Otherwise use swapPromoteStack. See swapPromoteStack for more details regarding the parameters.
Wrap swapInStack; see also swapApply.
Like swapIn' but discard the result.
Perform the same swap as swapPromoteStack. However the new window receives the focus; it appears to "swap into" the position of the original window. Under this model focus follows stack position and the zipper does not move. See swapPromoteStack for more details regarding the parameters.
Wrap swapPromoteStack; see also swapApply.
Like swapPromote' but discard the result.
If the focused window is the master window and there is no previous master, do nothing. Otherwise swap the master with the previous master. If the focused window is not the master window, swap it with the master window. In either case focus follows the original window, i.e. the focused window does not change, only its position. The first argument is the previous master (which may not exist), the second a window stack. Return True if the master history hindered the swap; the history is either empty or out-of-sync. Though the latter shouldn't happen this function never changes the stack under such circumstances.
Say swapTo Next or swapTo Prev to move your current workspace. This is an X () so can be hooked up to your keybindings directly.
Swaps the currently focused workspace with the given workspace tag, via swapWorkspaces.
Takes two workspace tags and an existing XMonad.StackSet and returns a new one with the two corresponding workspaces' tags swapped.
Version of swap not dependent on X monad (needed for testing).