def binary_map(context, a, b, out): if out is not None: return out return promote(context, a, b)
def binary_map(typesystem, a, b, out): if out is not None: return out return promote(typesystem, a, b)