Adjacent exchange and mapping #
These characterizations use the existing total List.swap; out-of-range exchanges retain
all data. They connect stable sorting traces to their accompanying value words.
An adjacent exchange has the usual take/two-entries/drop form, with whole-list identity when the second position is out of range.