def merge(*dicts):
    """Returns a dict that consists of the rest of the dicts merged with
    the first.  If a key occurs in more than one map, the value from the
    latter (left-to-right) will be the value in the result."""
    d = dict()
    for _dict in dicts:
        d.update(_dict)
    return d