This page was generated from the component’s built-in descriptions. An in-depth article has not been written for it yet.
Swap the places of items in a list, pair by pair.
Input parameters:
- Li → List whose items to swap.
- Ia → First index of each swapping pair.
- Ib → Second index of each swapping pair.
Output parameters:
- Li → Modified list.
- Mp → Index map containing the changes applied to the list.