export function swap<K, V>(x: Lists<K, V>, k: K, l: K): Lists<K, V> {
  return swap$(shallowClone(x), k, l);
}