Rearrange arguments of tuple_map
Make tuple_map variadic