Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
m.put(k, v);
(assoc m k v)
m[k] = v;
m[k] = v;
m[k] = v;
m[k] = v;
m[k] = v
m[k] = v
m.k = v
import qualified Data.Map as Map
newM = Map.insert k v m
m[k] = v;
m.set(k, v);
$m[$k] = $v;
uses fgl;
m.KeyData[k] := v;
$m{$k} = $v;
m[k] = v
m[k] = v
use std::collection::HashMap;
m.insert(k, v);
m at: k put: v.

New implementation...