View Problem

Define an unmodifiable empty map

DiskEdit
ruby
map = {}.freeze
DiskEdit
cpp
const std::map<T1,T2> immutable_map_instance_of_type_t1_to_t2;
ExpandDiskEdit
fantom
map := [:].ro
DiskEdit
clojure
; Clojure maps are immutable
(def m {})

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