Swaps two elements in a list.
Since: 3.0
lt
i
j
use <util/swap.scad>; assert(swap([10, 20, 30, 40], 1, 3) == [10, 40, 30, 20]);