swap..Root.algorithm.swapSwaps two objects (warning: objects after swap are copies of original objects).
Parameters: Object a, Object b
Return value: reference to second object
Object, Callable, BlockCallable
import("algorithm");
auto a.=(1);
auto b.=(2);
algorithm.swap(a, b);
log(a, b);