Compact syntax for combining `Tuple` and `NamedTuple`: `(1, 2; x=2, y=3) == ((1, 2), (x=2, y=3))`

Thanks! Exactly what I had in mind. Maybe an intermediate solution would be a macro that turns everything of the form (1, 2; x=2, y=3) into a FrankenTuple in a code block but of course it would be nicer if the syntax was built-in.

1 Like