Function swap$

  • Exchange two values.

    Type Parameters

    • K

    • V

    Parameters

    • x: Map<K, V>

      a map (updated)

    • k: K

      a key

    • l: K

      another key

    Returns Map<K, V>

    x | x[i] ↔ x[j]

Generated using TypeDoc