Add helper function for maps.
Add helper function for maps.

Signed-off-by: Leonardo de Moura <7610bae85f2b530654cc716772f1fe653373e892@microsoft.com>

fpvandoorn/lean,htzh/lean,digama0/lean,Kha/lean,digama0/lean,fgdorais/lean,leanprover/lean,Kha/lean,fpvandoorn/lean2,Kha/lean,levnach/lean,codyroux/lean0.1,codyroux/lean0.1,fpvandoorn/lean2,soonhokong/lean,leanprover-community/lean,sp3ctum/lean,UlrikBuchholtz/lean,fpvandoorn/lean,leanprover/lean,sp3ctum/lean,htzh/lean,javra/lean,c-cube/lean,soonhokong/lean,soonhokong/lean-osx,soonhokong/lean-windows,fgdorais/lean,codyroux/lean0.1,UlrikBuchholtz/lean,UlrikBuchholtz/lean,soonhokong/lean-windows,digama0/lean,leanprover/lean,leodemoura/lean,fpvandoorn/lean,avigad/lean,leodemoura/lean,soonhokong/lean-osx,levnach/lean,fgdorais/lean,johoelzl/lean,digama0/lean,Kha/lean,soonhokong/lean,javra/lean,soonhokong/lean-osx,rlewis1988/lean,soonhokong/lean,soonhokong/lean-windows,leodemoura/lean,c-cube/lean,eigengrau/lean,johoelzl/lean,soonhokong/travis_test,rlewis1988/lean,avigad/lean,soonhokong/lean-osx,johoelzl/lean,leanprover-community/lean,rlewis1988/lean,soonhokong/travis_test,soonhokong/travis_test,leodemoura/lean,soonhokong/lean-osx,avigad/lean,javra/lean,fpvandoorn/lean2,leanprover-community/lean,soonhokong/lean,leanprover-community/lean,leanprover/lean,fpvandoorn/lean2,eigengrau/lean,codyroux/lean0.1,htzh/lean,eigengrau/lean,dselsam/lean,avigad/lean,soonhokong/travis_test,dselsam/lean,johoelzl/lean,c-cube/lean,digama0/lean,UlrikBuchholtz/lean,leodemoura/lean,javra/lean,dselsam/lean,dselsam/lean,rlewis1988/lean,leanprover-community/lean,soonhokong/lean-windows,leodemoura/lean,sp3ctum/lean,dselsam/lean,c-cube/lean,dselsam/lean,leanprover/lean,johoelzl/lean,fpvandoorn/lean,Kha/lean,fgdorais/lean,rlewis1988/lean,htzh/lean,c-cube/lean,fpvandoorn/lean,eigengrau/lean,fgdorais/lean,levnach/lean,Kha/lean,javra/lean,avigad/lean,avigad/lean,digama0/lean,leanprover-community/lean,johoelzl/lean,UlrikBuchholtz/lean,soonhokong/lean-windows,fpvandoorn/lean,sp3ctum/lean,levnach/lean,fgdorais/lean,leanprover/lean,fpvandoorn/lean2,eigengrau/lean,rlewis1988/lean,sp3ctum/lean,htzh/lean,levnach/lean