Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • C++
m[k] = v;

std::map<>::operator[] will either insert or update the value.
(assoc m k v)

Returns a new map.

New implementation...