View Problem

Add an entry to a map

Given an empty pets map, add the mapping from "rob" to "dog"

There are 22 other solutions in additional languages (clojure, cpp, erlang, fantom ...)