View Problem

Define an unmodifiable empty map

DiskEdit
python 2.6
import collections
EmptyDict = collections.namedtuple("EmptyDict", "")
e = EmptyDict()
DiskEdit
clojure
; Clojure maps are immutable
(def m {})
ExpandDiskEdit
erlang

% Erlang data structures are immutable - updating a 'map' sees a modified copy created
Map = dict:new(),

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