def combined_with(self, other):
assert self.name == other.name<EOL>return Mark(<EOL>self.name, self.args + other.args, dict(self.kwargs, **other.kwargs)<EOL>)<EOL>
:param other: the mark to combine with
:type other: Mark
:rtype: Mark

combines by appending aargs and merging the mappings