View Problem

Retrieve a value from a map

Given a map pets {joe:cat,mary:turtle,bill:canary} print the pet for "joe" ("cat")

There are 20 other solutions in additional languages (cpp, erlang, fsharp, groovy ...)