erlang
% Erlang data structures are immutable - updating a 'map' sees a modified copy created
Map = dict:new(),
-module(unmodmap).
-export([start/0]).
start() ->
% Erlang data structures are immutable - updating a 'map' sees a modified copy created
Map = dict:new(),
io:format("~B~n", [dict:size(Map)]).