Logo

Programming-Idioms

  • C#
  • Go
m[k] = v

If m[k] already exists, then it is overwritten.
m[k] = v;
(assoc m k v)

Returns a new map.

New implementation...