View Problem

Remove an entry from a map

Given a map pets {joe:cat,mary:turtle,bill:canary} remove the mapping for "bill" and print "canary"
ExpandDiskEdit
fantom
pet := map.remove("bill")
echo ("pet=$pet")

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