View Problem

Define an unmodifiable empty map

DiskEdit
python 2.6
import collections
EmptyDict = collections.namedtuple("EmptyDict", "")
e = EmptyDict()
ExpandDiskEdit
erlang

% Erlang data structures are immutable - updating a 'map' sees a modified copy created
Map = dict:new(),
DiskEdit
cpp
const std::map<T1,T2> immutable_map_instance_of_type_t1_to_t2;

Submit a new solution for python, erlang, or cpp
There are 18 other solutions in additional languages (clojure, fantom, fsharp, groovy ...)